wok rev 7179

Added libnet.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Nov 08 00:02:10 2010 +0000 (2010-11-08)
parents 454a7889dcd3
children 0ba406a24a1e
files libnet-dev/receipt libnet/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libnet-dev/receipt	Mon Nov 08 00:02:10 2010 +0000
     1.3 @@ -0,0 +1,20 @@
     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="devel files for libnet"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="libnet"
    1.12 +WEB_SITE="http://sourceforge.net/projects/libnet-dev/"
    1.13 +WANTED="libnet"
    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/include $fs/usr
    1.20 +	cp -a $_pkg/usr/bin $fs/usr
    1.21 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.22 +}
    1.23 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libnet/receipt	Mon Nov 08 00:02:10 2010 +0000
     2.3 @@ -0,0 +1,30 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libnet"
     2.7 +VERSION="1.1.4"
     2.8 +CATEGORY="network"
     2.9 +SHORT_DESC="A library which provides API for commonly used low-level net functions."
    2.10 +MAINTAINER="slaxemulator@gmail.com"
    2.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.12 +WEB_SITE="http://sourceforge.net/projects/libnet-dev/"
    2.13 +WGET_URL="$SF_MIRROR/$PACKAGE-dev/$TARBALL"
    2.14 +
    2.15 +# Rules to configure and make the package.
    2.16 +compile_rules()
    2.17 +{
    2.18 +	cd $src
    2.19 +	./configure \
    2.20 +		--prefix=/usr \
    2.21 +		--infodir=/usr/share/info \
    2.22 +		--mandir=/usr/share/man \
    2.23 +		$CONFIGURE_ARGS &&
    2.24 +	make && make DESTDIR=$PWD/_pkg install
    2.25 +}
    2.26 +
    2.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.28 +genpkg_rules()
    2.29 +{
    2.30 +	mkdir -p $fs/usr/lib
    2.31 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.32 +}
    2.33 +