wok-next diff module-init-tools/receipt @ rev 16503

Up: spk (1.4)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 24 03:14:13 2014 +0200 (2014-04-24)
parents 6d21eea8cdc5
children 36278632a653
line diff
     1.1 --- a/module-init-tools/receipt	Fri May 20 17:39:46 2011 +0000
     1.2 +++ b/module-init-tools/receipt	Thu Apr 24 03:14:13 2014 +0200
     1.3 @@ -5,10 +5,12 @@
     1.4  CATEGORY="base-system"
     1.5  SHORT_DESC="Kernel modules manipulation tools."
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 -DEPENDS="glibc-base gcc-lib-base zlib lzlib depmod"
     1.8 +LICENSE="GPL2"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/"
    1.11  WGET_URL="${WEB_SITE}$TARBALL"
    1.12 +
    1.13 +DEPENDS="glibc-base gcc-lib-base zlib lzlib depmod"
    1.14  BUILD_DEPENDS="zlib-dev lzlib-dev lzlib"
    1.15  
    1.16  # Rules to configure and make the package.
    1.17 @@ -38,12 +40,12 @@
    1.18  genpkg_rules()
    1.19  {
    1.20  	mkdir -p $fs/sbin $fs/etc
    1.21 -	cp $_pkg/sbin/insmod $fs/sbin
    1.22 -	cp $_pkg/sbin/modinfo $fs/sbin
    1.23 -	cp $_pkg/sbin/modprobe $fs/sbin
    1.24 -	cp $_pkg/sbin/rmmod $fs/sbin
    1.25 +	cp $install/sbin/insmod $fs/sbin
    1.26 +	cp $install/sbin/modinfo $fs/sbin
    1.27 +	cp $install/sbin/modprobe $fs/sbin
    1.28 +	cp $install/sbin/rmmod $fs/sbin
    1.29  	# lsmod goes in /bin.
    1.30 -	cp -a $_pkg/bin $fs
    1.31 +	cp -a $install/bin $fs
    1.32  	# Create the modprobe config directory
    1.33  	mkdir -p $fs/etc/modprobe.d
    1.34  }