wok-next view miniupnpc/receipt @ rev 20430
fake-sane: fix copy-paste typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 24 13:29:11 2018 +0200 (2018-01-24) |
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 }