# HG changeset patch # User Christopher Rogers # Date 1289174530 0 # Node ID 0cca1e2a1203d8301a38153a55102ab97b72fb37 # Parent 454a7889dcd3e0e4f6e2577c7cb5777538735933 Added libnet. diff -r 454a7889dcd3 -r 0cca1e2a1203 libnet-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libnet-dev/receipt Mon Nov 08 00:02:10 2010 +0000 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="libnet-dev" +VERSION="1.1.4" +CATEGORY="development" +SHORT_DESC="devel files for libnet" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="libnet" +WEB_SITE="http://sourceforge.net/projects/libnet-dev/" +WANTED="libnet" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib +} + diff -r 454a7889dcd3 -r 0cca1e2a1203 libnet/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libnet/receipt Mon Nov 08 00:02:10 2010 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="libnet" +VERSION="1.1.4" +CATEGORY="network" +SHORT_DESC="A library which provides API for commonly used low-level net functions." +MAINTAINER="slaxemulator@gmail.com" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://sourceforge.net/projects/libnet-dev/" +WGET_URL="$SF_MIRROR/$PACKAGE-dev/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +} +