# HG changeset patch # User Christophe Lincoln # Date 1254696758 -7200 # Node ID 07bb42f8c0711ca636e4bd77cd361812a2dab30d # Parent 0f6c3b6d8993c1f3e7b5198ee452765585dacf20 Add: libtasn1 (ASN.1 library) diff -r 0f6c3b6d8993 -r 07bb42f8c071 libtasn1-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libtasn1-dev/receipt Mon Oct 05 00:52:38 2009 +0200 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="libtasn1-dev" +VERSION="2.3" +CATEGORY="development" +SHORT_DESC="The libtasn1 devel files." +MAINTAINER="pankso@slitaz.org" +WANTED="libtasn1" +WEB_SITE="http://www.gnu.org/software/libtasn1/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr +} diff -r 0f6c3b6d8993 -r 07bb42f8c071 libtasn1/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libtasn1/receipt Mon Oct 05 00:52:38 2009 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="libtasn1" +VERSION="2.3" +CATEGORY="security" +SHORT_DESC="ASN.1 library." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.gnu.org/software/libtasn1/" +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + $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/bin $fs/usr + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +}