# HG changeset patch # User Christophe Lincoln # Date 1252879075 -7200 # Node ID 97b738de32f659a83a419dc3acf708eedf5a5229 # Parent eafbbe3577c91b12774614b96e78ee26545851b1 Add: libupnp (The portable Universal Plug and Play) diff -r eafbbe3577c9 -r 97b738de32f6 libupnp-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libupnp-dev/receipt Sun Sep 13 23:57:55 2009 +0200 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="libupnp-dev" +VERSION="1.6.6" +CATEGORY="network" +SHORT_DESC="LibUpnP devel files." +MAINTAINER="pankso@slitaz.org" +WANTED="libupnp" +WEB_SITE="http://pupnp.sourceforge.net/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr +} diff -r eafbbe3577c9 -r 97b738de32f6 libupnp/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libupnp/receipt Sun Sep 13 23:57:55 2009 +0200 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="libupnp" +VERSION="1.6.6" +CATEGORY="network" +SHORT_DESC="The portable Universal Plug and Play (UPnP)." +MAINTAINER="pankso@slitaz.org" +DEPENDS="libxml2" +BUILD_DEPENDS="libxml2-dev libpthread-stubs" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://pupnp.sourceforge.net/" +WGET_URL="$SF_MIRROR/pupnp/$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/lib/*.so* $fs/usr/lib +}