wok-6.x annotate gen-init-cpio/receipt @ rev 9536

Up: tazpkg (4.6.1) - Bug fix
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 08 18:42:01 2011 +0200 (2011-04-08)
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 }