wok annotate libupnp/receipt @ rev 20218
Up tazlito (484)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 25 17:56:27 2018 +0100 (2018-02-25) |
parents | 285253ecf6e2 |
children | c20cd1a0411a |
rev | line source |
---|---|
pankso@4075 | 1 # SliTaz package receipt. |
pankso@4075 | 2 |
pankso@4075 | 3 PACKAGE="libupnp" |
slaxemulator@12341 | 4 VERSION="1.6.17" |
pankso@4075 | 5 CATEGORY="network" |
pankso@4075 | 6 SHORT_DESC="The portable Universal Plug and Play (UPnP)." |
pankso@4075 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15482 | 8 LICENSE="BSD" |
pankso@4075 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4075 | 10 WEB_SITE="http://pupnp.sourceforge.net/" |
pankso@4075 | 11 WGET_URL="$SF_MIRROR/pupnp/$TARBALL" |
pankso@4075 | 12 |
pascal@15482 | 13 DEPENDS="libxml2" |
pascal@15482 | 14 BUILD_DEPENDS="libxml2-dev libpthread-stubs" |
pascal@15482 | 15 |
pankso@4075 | 16 # Rules to configure and make the package. |
pankso@4075 | 17 compile_rules() |
pankso@4075 | 18 { |
pankso@4075 | 19 cd $src |
pankso@4075 | 20 ./configure \ |
pankso@4075 | 21 --prefix=/usr \ |
pankso@4075 | 22 $CONFIGURE_ARGS && |
pankso@4075 | 23 make && |
slaxemulator@12341 | 24 make DESTDIR=$DESTDIR install |
pankso@4075 | 25 } |
pankso@4075 | 26 |
pankso@4075 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4075 | 28 genpkg_rules() |
pankso@4075 | 29 { |
pankso@4075 | 30 mkdir -p $fs/usr/lib |
pascal@15482 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@4075 | 32 } |