wok rev 7167

Added libpcap-dev to wok. This reduced size in libpcap package.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 07 18:40:06 2010 +0000 (2010-11-07)
parents 61d81e53741f
children 209f2ed52094
files libpcap-dev/receipt libpcap/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libpcap-dev/receipt	Sun Nov 07 18:40:06 2010 +0000
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libpcap-dev"
     1.7 +VERSION="1.1.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="devel files for libpcap"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="libpcap"
    1.12 +WEB_SITE="http://www.tcpdump.org/"
    1.13 +WANTED="libpcap"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/lib
    1.19 +	cp -a $_pkg/usr/bin $fs/usr
    1.20 +	cp -a $_pkg/usr/include $fs/usr
    1.21 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.22 +}
    1.23 +
     2.1 --- a/libpcap/receipt	Sun Nov 07 18:23:09 2010 +0000
     2.2 +++ b/libpcap/receipt	Sun Nov 07 18:40:06 2010 +0000
     2.3 @@ -23,10 +23,8 @@
     2.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.5  genpkg_rules()
     2.6  {
     2.7 -        mkdir -p $fs/usr
     2.8 -	cp -a $_pkg/usr/bin $fs/usr
     2.9 -        cp -a $_pkg/usr/include $fs/usr
    2.10 -        cp -a $_pkg/usr/lib $fs/usr
    2.11 -        #strip -s $fs/usr/lib/*
    2.12 +	mkdir -p $fs/usr
    2.13 +	cp -a $_pkg/usr/lib/*.so* $fs/usr
    2.14 +	#strip -s $fs/usr/lib/*
    2.15  }
    2.16