summaryrefslogtreecommitdiff
path: root/classes/sourcepkg.bbclass
blob: 52cf2647b68cb908573419490c279ea9e6f8105b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

do_tarballing(){

	mkdir -p ${DL_DIR}/sourcepkg/
	cd ${WORKDIR}
	echo '.pc' > tar-exclude
	tar cjvf ${DL_DIR}/sourcepkg/${P}.tar.bz2  `basename ${S}` -X tar-exclude
	md5sum ${DL_DIR}/sourcepkg/${P}.tar.bz2 > ${DL_DIR}/sourcepkg/${P}.tar.bz2.md5
}

addtask tarballing after do_patch before do_configure