wok-undigest rev 258

libnet has moved to wok
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 28 22:41:41 2011 +0200 (2011-05-28)
parents 90642293b366
children e3ca2a0b4bde
files libnet-dev/receipt libnet/receipt
line diff
     1.1 --- a/libnet-dev/receipt	Sat May 28 22:29:20 2011 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,22 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="libnet-dev"
     1.7 -VERSION="1.1.4"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="Libnet devel files"
    1.10 -MAINTAINER="claudinei@slitaz.org"
    1.11 -DEPENDS=""
    1.12 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 -WEB_SITE="http://github.com/sam-github/libnet"
    1.14 -WANTED="libnet"
    1.15 -
    1.16 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 -genpkg_rules()
    1.18 -{
    1.19 -	mkdir -p $fs/usr/bin $fs/usr/lib
    1.20 -	cp $_pkg/usr/bin/libnet-config $fs/usr/bin
    1.21 -	chmod +x $fs/usr/bin/libnet-config
    1.22 -	cp -a $_pkg/usr/include $fs/usr
    1.23 -	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.24 -}
    1.25 -
     2.1 --- a/libnet/receipt	Sat May 28 22:29:20 2011 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,34 +0,0 @@
     2.4 -# SliTaz package receipt.
     2.5 -
     2.6 -PACKAGE="libnet"
     2.7 -SOURCE="libnet-dev"
     2.8 -VERSION="1.1.4"
     2.9 -CATEGORY="development"
    2.10 -SHORT_DESC="Libnet provides a portable framework for low-level network packet construction."
    2.11 -MAINTAINER="claudinei@slitaz.org"
    2.12 -DEPENDS=""
    2.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14 -WEB_SITE="http://github.com/sam-github/libnet"
    2.15 -WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
    2.16 -
    2.17 -# Rules to configure and make the package.
    2.18 -compile_rules()
    2.19 -{
    2.20 -	src="$PACKAGE-$VERSION"
    2.21 -	cd $src
    2.22 -	./configure \
    2.23 -		--prefix=/usr \
    2.24 -		--infodir=/usr/share/info \
    2.25 -		--mandir=/usr/share/man \
    2.26 -		$CONFIGURE_ARGS &&
    2.27 -	make && make DESTDIR=$PWD/_pkg install
    2.28 -}
    2.29 -
    2.30 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.31 -genpkg_rules()
    2.32 -{
    2.33 -	_pkg="$WOK/$PACKAGE/$PACKAGE-$VERSION/_pkg"
    2.34 -	mkdir -p $fs/usr/lib
    2.35 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.36 -}
    2.37 -