tazwok diff examples/receipt @ rev 55

Give status when creatin fs (busybox cpio)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 18 00:18:15 2008 +0200 (2008-04-18)
parents c1f521073999
children 09a5c6aa4f92
line diff
     1.1 --- a/examples/receipt	Wed Jan 02 11:24:08 2008 +0100
     1.2 +++ b/examples/receipt	Fri Apr 18 00:18:15 2008 +0200
     1.3 @@ -2,19 +2,22 @@
     1.4  
     1.5  PACKAGE="bc"
     1.6  VERSION="1.06"
     1.7 -CATEGORY="base-apps"
     1.8 +CATEGORY="utilities"
     1.9  SHORT_DESC="Bc is a cmdline calculator."
    1.10 -MAINTAINER="pankso@slitaz.org"
    1.11 +MAINTAINER="name@example.org"
    1.12  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13  WEB_SITE="http://www.gnu.org/software/bc/"
    1.14 -WGET_URL="http://ftp.gnu.org/pub/gnu/bc/$TARBALL"
    1.15 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.16  
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20      cd $src
    1.21 -    ./configure --prefix=/usr --infodir=/usr/share/info \
    1.22 -    --mandir=/usr/share/man $CONFIGURE_ARGS
    1.23 +    ./configure \
    1.24 +    	--prefix=/usr \
    1.25 +    	--infodir=/usr/share/info \
    1.26 +    	--mandir=/usr/share/man \
    1.27 +    	$CONFIGURE_ARGS
    1.28      make
    1.29      make DESTDIR=$PWD/_pkg install
    1.30  }
    1.31 @@ -22,7 +25,7 @@
    1.32  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.33  genpkg_rules()
    1.34  {
    1.35 -    mkdir -p $fs/usr/bin
    1.36 -    cp -a $_pkg/usr/bin/* $fs/usr/bin
    1.37 +    mkdir -p $fs/usr
    1.38 +    cp -a $_pkg/usr/bin $fs/usr
    1.39      strip -s $fs/usr/bin/*
    1.40  }