wok view miniupnpc/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (4 weeks ago)
parents 5ea0ce1cecc0
children
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/[a-z_]*||;s|".*||;s|_|.|g;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src/miniupnpc
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }