# HG changeset patch # User Claudinei Pereira # Date 1374799122 10800 # Node ID bc3fb1e3fbb0b6f2f0d3b4135421ae0ca8fd8c53 # Parent c81d28f8b5bf2a5a6ade84734959b2168dccf626 Add: libbsd* (0.6.0) diff -r c81d28f8b5bf -r bc3fb1e3fbb0 libbsd-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libbsd-dev/receipt Thu Jul 25 21:38:42 2013 -0300 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="libbsd-dev" +VERSION="0.6.0" +CATEGORY="development" +SHORT_DESC="Development files for libbsd." +MAINTAINER="claudinei@slitaz.org" +WEB_SITE="http://libbsd.freedesktop.org/wiki/" + +DEPENDS="libbsd" +WANTED="libbsd" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include $fs/usr +} diff -r c81d28f8b5bf -r bc3fb1e3fbb0 libbsd/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libbsd/receipt Thu Jul 25 21:38:42 2013 -0300 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="libbsd" +VERSION="0.6.0" +CATEGORY="development" +SHORT_DESC="Provides useful functions commonly found on BSD systems." +MAINTAINER="claudinei@slitaz.org" +LICENSE="" +WEB_SITE="http://libbsd.freedesktop.org/wiki/" +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="http://libbsd.freedesktop.org/releases/$TARBALL" + +DEPENDS="" +BUILD_DEPENDS="" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure $CONFIGURE_ARGS && make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib +}