wok view miniupnpc/receipt @ rev 24888
grub2: avoid grub-mkimage error: decompressor is too big
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 02 17:25:58 2022 +0100 (2022-04-02) |
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 }