wok-stable annotate libupnp/receipt @ rev 7770
Add post_install and post_remove functions to librsvg receipt. This is to update loaders.cache file when its installed.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Dec 22 21:13:25 2010 +0000 (2010-12-22) |
parents | 97b738de32f6 |
children | 9fe40722d01d |
rev | line source |
---|---|
pankso@4075 | 1 # SliTaz package receipt. |
pankso@4075 | 2 |
pankso@4075 | 3 PACKAGE="libupnp" |
slaxemulator@7175 | 4 VERSION="1.6.9" |
pankso@4075 | 5 CATEGORY="network" |
pankso@4075 | 6 SHORT_DESC="The portable Universal Plug and Play (UPnP)." |
pankso@4075 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4075 | 8 DEPENDS="libxml2" |
pankso@4075 | 9 BUILD_DEPENDS="libxml2-dev libpthread-stubs" |
pankso@4075 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4075 | 11 WEB_SITE="http://pupnp.sourceforge.net/" |
pankso@4075 | 12 WGET_URL="$SF_MIRROR/pupnp/$TARBALL" |
pankso@4075 | 13 |
pankso@4075 | 14 # Rules to configure and make the package. |
pankso@4075 | 15 compile_rules() |
pankso@4075 | 16 { |
pankso@4075 | 17 cd $src |
pankso@4075 | 18 ./configure \ |
pankso@4075 | 19 --prefix=/usr \ |
pankso@4075 | 20 $CONFIGURE_ARGS && |
pankso@4075 | 21 make && |
pankso@4075 | 22 make DESTDIR=$PWD/_pkg install |
pankso@4075 | 23 } |
pankso@4075 | 24 |
pankso@4075 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4075 | 26 genpkg_rules() |
pankso@4075 | 27 { |
pankso@4075 | 28 mkdir -p $fs/usr/lib |
pankso@4075 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4075 | 30 } |