mkbuild

mk based build system
git clone git://git.2f30.org/mkbuild
Log | Files | Refs | LICENSE

mk.package (287B)


      1 
      2 package:QV:
      3 	pkg=$(basename `pwd`)
      4 	rm -rf $(pwd)/.pkgroot
      5 	env -i PATH="$PATH" configmk="$configmk" mkbuild="$mkbuild" mk install ROOT=$(pwd)/.pkgroot
      6 	name="$pkg"
      7 	if test x"$v" != x""; then
      8 		name="$name#$v"
      9 	fi
     10 	fakeroot -- tar -zcf "${name}.pkg.tgz" -C .pkgroot .
     11 	rm -rf .pkgroot