wok-next diff gen-init-cpio/receipt @ rev 8532

Don't need to setup src and _pkg varibles in dvdauthor receipt.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Feb 13 03:35:31 2011 +0000 (2011-02-13)
parents
children 016c04fb9405
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gen-init-cpio/receipt	Sun Feb 13 03:35:31 2011 +0000
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gen-init-cpio"
     1.7 +VERSION="2.6.32"
     1.8 +CATEGORY="base-system"
     1.9 +MAINTAINER="devel@slitaz.org"
    1.10 +SHORT_DESC="Program to compress initramfs images"
    1.11 +WEB_SITE="http://www.kernel.org/"
    1.12 +DEPENDS="glibc-base"
    1.13 +BUILD_DEPENDS=""
    1.14 +TARBALL=""
    1.15 +WGET_URL=""
    1.16 +TAGS=""
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +
    1.20 +compile_rules()
    1.21 +{
    1.22 +  mkdir -p $PACKAGE-$VERSION
    1.23 +  cp -f stuff/* $PACKAGE-$VERSION
    1.24 +  cd $PACKAGE-$VERSION
    1.25 +  make 
    1.26 +  make DESTDIR=$PWD/_pkg install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	cp -a $_pkg/sbin $fs
    1.33 +}
    1.34 \ No newline at end of file