wok-next diff pcmciautils/receipt @ rev 20180

opencc: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 02 12:28:56 2017 +0100 (2017-11-02)
parents f463de72afe3
children 0e7893ac206d
line diff
     1.1 --- a/pcmciautils/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/pcmciautils/receipt	Thu Nov 02 12:28:56 2017 +0100
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="pcmciautils"
     1.8  VERSION="018"
     1.9 @@ -12,35 +12,25 @@
    1.10  #WGET_URL="http://www.kernel.org/pub/linux/utils/kernel/pcmcia/$TARBALL"
    1.11  WGET_URL="http://sourceware.mirrors.tds.net/pub/kernel.org/linux/utils/kernel/pcmcia/$TARBALL"
    1.12  
    1.13 -DEPENDS="sysfsutils eudev"
    1.14  BUILD_DEPENDS="sysfsutils-dev"
    1.15  
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {
    1.19 -	make
    1.20 +	sed -i 's|/lib/udev|/usr/lib/udev|g; s|/sbin|/usr/bin|g' Makefile
    1.21  
    1.22 -	mkdir -p $install/sbin
    1.23 -	cp -a pccardctl $install/sbin
    1.24 -
    1.25 -	mkdir -p $install/lib/udev
    1.26 -	cp -a pcmcia-check-broken-cis pcmcia-socket-startup $install/lib/udev
    1.27 -
    1.28 -	mkdir -p $install/etc/udev/rules.d
    1.29 -	cp -a $src/udev/60-pcmcia.rules $install/etc/udev/rules.d
    1.30 -
    1.31 -	mkdir -p $install/etc/pcmcia
    1.32 -	cp -a $src/config/config.opts $install/etc/pcmcia
    1.33 -
    1.34 +	make &&
    1.35 +	make DESTDIR=$install install
    1.36  }
    1.37  
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41 -	copy etc/ lib/ sbin/
    1.42 +	copy @std
    1.43 +	DEPENDS="sysfsutils   eudev"
    1.44  }
    1.45  
    1.46 -post_install()
    1.47 -{
    1.48 -	tazpkg reconfigure eudev --root="$1/" --quiet
    1.49 -}
    1.50 +#post_install() {
    1.51 +#	echo "root='$1:$root'"
    1.52 +#	tazpkg reconfigure eudev --root="$1/" --quiet
    1.53 +#}