wok diff cpio/receipt @ rev 15625

nut: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 08 16:00:02 2013 +0000 (2013-12-08)
parents 186060f6d3d0
children 9e01bc6321ea
line diff
     1.1 --- a/cpio/receipt	Tue Apr 13 23:51:54 2010 +0200
     1.2 +++ b/cpio/receipt	Sun Dec 08 16:00:02 2013 +0000
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="base-system"
     1.5  SHORT_DESC="GNU cpio archiver."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS="glibc-base"
     1.8 -BUILD_DEPENDS="slitaz-toolchain"
     1.9 +LICENSE="GPL3"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://www.gnu.org/software/cpio/"
    1.12  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.13  
    1.14 +DEPENDS="glibc-base"
    1.15 +BUILD_DEPENDS="slitaz-toolchain"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 @@ -22,15 +24,15 @@
    1.21  		--infodir=/usr/share/info \
    1.22  		$CONFIGURE_ARGS  &&
    1.23  	make &&
    1.24 -	make DESTDIR=$PWD/_pkg install
    1.25 +	make DESTDIR=$DESTDIR install
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31  	mkdir -p $fs/usr/share/locale
    1.32 -	cp -a $_pkg/bin $fs
    1.33 -	cp -a $_pkg/usr/bin $fs/usr
    1.34 +	cp -a $install/bin $fs
    1.35 +	cp -a $install/usr/bin $fs/usr
    1.36  }
    1.37  
    1.38  # Remove Busybox symlink before installing