wok-next view miniupnpc/receipt @ rev 20407

Up miniupnp (2.0.20171212)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 18 12:55:43 2017 +0100 (2017-12-18)
parents 27bfe81dc6bd
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="miniupnpc"
4 VERSION="2.0.20171212"
5 CATEGORY="network"
6 SHORT_DESC="UPnP Internet Gateway Device (IGD) specifications client."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://miniupnp.tuxfamily.org/"
11 WGET_URL="$WEB_SITE/files/$TARBALL"
12 TAGS="upnp"
14 BUILD_DEPENDS=""
15 SPLIT="miniupnpc-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 case $PACKAGE in
28 miniupnpc)
29 DEPENDS=""
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 ;;
34 miniupnpc-dev)
35 DEPENDS="miniupnpc"
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/include $fs/usr
38 cp -a $install/usr/lib/*a $fs/usr/lib
39 ;;
40 esac
41 }