wok view miniupnpc/receipt @ rev 25204

updated python-mock (1.0.1 -> 3.0.5)
author Hans-G?nter Theisgen
date Wed Jul 13 14:28:15 2022 +0100 (2022-07-13)
parents 9aa658b57a83
children 5db546345599
line source
1 # SliTaz package receipt.
3 PACKAGE="miniupnpc"
4 VERSION="2.1"
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="https://github.com/miniupnp/miniupnp/archive/$TARBALL"
12 TAGS="upnp"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;/miniupnpc/!d;s|.*/miniupnpc_\(.*\).tar.*|\1|;s|_|.|g;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src/miniupnpc
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }