wok-6.x rev 15323

Up libpcap (1.4.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 27 21:51:31 2013 +0000 (2013-09-27)
parents ac5f7facefca
children c7810eb60fd9
files gcc3/receipt libpcap-dev/receipt libpcap/receipt
line diff
     1.1 --- a/gcc3/receipt	Fri Sep 27 19:24:26 2013 +0000
     1.2 +++ b/gcc3/receipt	Fri Sep 27 21:51:31 2013 +0000
     1.3 @@ -20,6 +20,7 @@
     1.4  {
     1.5  	mkdir gcc-build 
     1.6  	cd gcc-build
     1.7 +	{
     1.8  	$src/configure --prefix=/usr --libexecdir=/usr/lib \
     1.9  		--infodir=/usr/share/info --mandir=/usr/share/man --enable-nls \
    1.10  		--enable-languages=c,c++ --enable-shared --with-system-zlib \
    1.11 @@ -28,6 +29,7 @@
    1.12  		--program-suffix=-3
    1.13  	make $MAKEFLAGS bootstrap &&
    1.14  	make $MAKEFLAGS install
    1.15 +	} 2>&1 | sed 's/: No such file/: no such file/'
    1.16  }
    1.17  
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- a/libpcap-dev/receipt	Fri Sep 27 19:24:26 2013 +0000
     2.2 +++ b/libpcap-dev/receipt	Fri Sep 27 21:51:31 2013 +0000
     2.3 @@ -1,10 +1,11 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libpcap-dev"
     2.7 -VERSION="1.1.1"
     2.8 +VERSION="1.4.0"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="devel files for libpcap"
    2.11  MAINTAINER="slaxemulator@gmail.com"
    2.12 +LICENSE="BSD"
    2.13  DEPENDS="libpcap"
    2.14  WEB_SITE="http://www.tcpdump.org/"
    2.15  WANTED="libpcap"
    2.16 @@ -13,8 +14,8 @@
    2.17  genpkg_rules()
    2.18  {
    2.19  	mkdir -p $fs/usr/lib
    2.20 -	cp -a $_pkg/usr/bin $fs/usr
    2.21 -	cp -a $_pkg/usr/include $fs/usr
    2.22 -	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    2.23 +	cp -a $install/usr/bin $fs/usr
    2.24 +	cp -a $install/usr/include $fs/usr
    2.25 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    2.26  }
    2.27  
     3.1 --- a/libpcap/receipt	Fri Sep 27 19:24:26 2013 +0000
     3.2 +++ b/libpcap/receipt	Fri Sep 27 21:51:31 2013 +0000
     3.3 @@ -1,16 +1,18 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="libpcap"
     3.7 -VERSION="1.1.1"
     3.8 +VERSION="1.4.0"
     3.9  CATEGORY="development"
    3.10  SHORT_DESC="library for tcpdump"
    3.11  MAINTAINER="sdaigl@lacitec.on.ca"
    3.12 -DEPENDS="libnl"
    3.13 -BUILD_DEPENDS="flex bison"
    3.14 +LICENSE="BSD"
    3.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.16  WEB_SITE="http://www.tcpdump.org/"
    3.17  WGET_URL="http://www.tcpdump.org/release/$TARBALL";
    3.18  
    3.19 +DEPENDS="libnl"
    3.20 +BUILD_DEPENDS="flex bison"
    3.21 +
    3.22  # Rules to configure and make the package.
    3.23  compile_rules()
    3.24  {
    3.25 @@ -18,13 +20,13 @@
    3.26          ./configure --prefix=/usr --infodir=/usr/share/info \
    3.27          --mandir=/usr/share/man $CONFIGURE_ARGS &&
    3.28          make &&
    3.29 -        make DESTDIR=$PWD/_pkg install
    3.30 +        make DESTDIR=$DESTDIR install
    3.31  }
    3.32  
    3.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.34  genpkg_rules()
    3.35  {
    3.36  	mkdir -p $fs/usr/lib
    3.37 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    3.38 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.39  }
    3.40