wok-next view miniupnpc/receipt @ rev 20319

nagios-plugins: tiny patch, mingw32-binutils: update cflags
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 11 16:12:32 2017 +0100 (2017-11-11)
parents dbf4eeed945f
children 27bfe81dc6bd
line source
1 # SliTaz package receipt v2.
3 PACKAGE="miniupnpc"
4 VERSION="1.8"
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 INSTALLPREFIX=$DESTDIR/usr make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 case $PAKAGE 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 }