wok-current annotate gen-init-cpio/receipt @ rev 9664
busybox: ensure $stuff is set (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 01 12:51:33 2011 +0200 (2011-05-01) |
parents | |
children | 016c04fb9405 |
rev | line source |
---|---|
slaxemulator@5345 | 1 # SliTaz package receipt. |
slaxemulator@5345 | 2 |
slaxemulator@5345 | 3 PACKAGE="gen-init-cpio" |
slaxemulator@5345 | 4 VERSION="2.6.32" |
slaxemulator@5345 | 5 CATEGORY="base-system" |
slaxemulator@5345 | 6 MAINTAINER="devel@slitaz.org" |
slaxemulator@5345 | 7 SHORT_DESC="Program to compress initramfs images" |
slaxemulator@5345 | 8 WEB_SITE="http://www.kernel.org/" |
slaxemulator@5345 | 9 DEPENDS="glibc-base" |
slaxemulator@5345 | 10 BUILD_DEPENDS="" |
slaxemulator@5345 | 11 TARBALL="" |
slaxemulator@5345 | 12 WGET_URL="" |
slaxemulator@5345 | 13 TAGS="" |
slaxemulator@5345 | 14 |
slaxemulator@5345 | 15 # Rules to configure and make the package. |
slaxemulator@5345 | 16 |
slaxemulator@5345 | 17 compile_rules() |
slaxemulator@5345 | 18 { |
slaxemulator@5345 | 19 mkdir -p $PACKAGE-$VERSION |
slaxemulator@5345 | 20 cp -f stuff/* $PACKAGE-$VERSION |
slaxemulator@5345 | 21 cd $PACKAGE-$VERSION |
slaxemulator@5345 | 22 make |
slaxemulator@5345 | 23 make DESTDIR=$PWD/_pkg install |
slaxemulator@5345 | 24 } |
slaxemulator@5345 | 25 |
slaxemulator@5345 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@5345 | 27 genpkg_rules() |
slaxemulator@5345 | 28 { |
slaxemulator@5345 | 29 cp -a $_pkg/sbin $fs |
slaxemulator@5345 | 30 } |