# 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 }