# HG changeset patch # User Christopher Rogers # Date 1286647054 0 # Node ID 231408e11c7e3d5cce2ce2eff709eac4ed3315bc # Parent 1d56d7d2d17caea5727d68f334df43da5c2e322e Added libdnet. Need for new scanssh. diff -r 1d56d7d2d17c -r 231408e11c7e libdnet-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libdnet-dev/receipt Sat Oct 09 17:57:34 2010 +0000 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="libdnet-dev" +VERSION="1.12" +CATEGORY="development" +SHORT_DESC="devel files of libdnet" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="libdnet" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://code.google.com/p/libdnet/" +WANTED="libdnet" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib +} + diff -r 1d56d7d2d17c -r 231408e11c7e libdnet/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libdnet/receipt Sat Oct 09 17:57:34 2010 +0000 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="libdnet" +VERSION="1.12" +CATEGORY="network" +SHORT_DESC="A simplified, portable interface to serveral low-level networking routines" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="python" +BUILD_DEPENDS="python python-dev" +TARBALL="$PACKAGE-$VERSION.tgz" +WEB_SITE="http://code.google.com/p/libdnet/" +WGET_URL="http://libdnet.googlecode.com/files/$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/sbin $fs/usr + cp -a $_pkg/usr/lib/libdnet $fs/usr/lib + cp -a $_pkg/usr/lib/*.1* $fs/usr/lib +} +