# HG changeset patch # User Pascal Bellard # Date 1233610058 0 # Node ID c391a346d4b6e2454c2067c84c9ffb35a94c334e # Parent 6482ef7f60b160b840b4a661a8b5d8d1091ed845 Add libidn diff -r 6482ef7f60b1 -r c391a346d4b6 libidn-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libidn-dev/receipt Mon Feb 02 21:27:38 2009 +0000 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="libidn-dev" +VERSION="1.12" +CATEGORY="development" +SHORT_DESC="Encode and decode internationalized domain names, dev files." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://www.gnu.org/software/$PACKAGE/" +WANTED="libidn" + +# 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/lib/*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib +} + diff -r 6482ef7f60b1 -r c391a346d4b6 libidn/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libidn/receipt Mon Feb 02 21:27:38 2009 +0000 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="libidn" +VERSION="1.12" +CATEGORY="system-tools" +SHORT_DESC="Encode and decode internationalized domain names." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.gnu.org/software/$PACKAGE/" +WGET_URL="$GNU_MIRROR/$PACKAGE/$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/bin $fs/usr + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +} +