wok-6.x annotate miniupnpc/receipt @ rev 21488
mosh: update patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 01 15:49:51 2019 +0200 (2019-05-01) |
parents | 943e0b9e503d |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@14505 | 1 # SliTaz package receipt. |
pascal@14505 | 2 |
pascal@14505 | 3 PACKAGE="miniupnpc" |
pascal@20398 | 4 VERSION="2.1" |
pascal@14505 | 5 CATEGORY="network" |
pascal@14505 | 6 SHORT_DESC="UPnP Internet Gateway Device (IGD) specifications client." |
pascal@14505 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15583 | 8 LICENSE="BSD" |
pascal@20398 | 9 TARBALL="${PACKAGE}_${VERSION/./_}.tar.gz" |
pascal@14505 | 10 WEB_SITE="http://miniupnp.tuxfamily.org/" |
pascal@20398 | 11 WGET_URL="https://github.com/miniupnp/miniupnp/archive/$TARBALL" |
pascal@19008 | 12 TAGS="upnp" |
pascal@14505 | 13 |
pascal@14505 | 14 DEPENDS="" |
pascal@14505 | 15 BUILD_DEPENDS="" |
pascal@14505 | 16 |
pascal@14505 | 17 # Rules to configure and make the package. |
pascal@14505 | 18 compile_rules() |
pascal@14505 | 19 { |
pascal@20398 | 20 cd $src/miniupnpc |
pascal@14505 | 21 make && |
pascal@20153 | 22 make DESTDIR=$DESTDIR install |
pascal@14505 | 23 } |
pascal@14505 | 24 |
pascal@14505 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14505 | 26 genpkg_rules() |
pascal@14505 | 27 { |
pascal@14505 | 28 mkdir -p $fs/usr/lib |
pascal@14505 | 29 cp -a $install/usr/bin $fs/usr |
pascal@14505 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14505 | 31 } |