wok annotate miniupnpc/receipt @ rev 25276

updated reiser4progs and reiser4progs-dev (2.0.0 -> 2.0.5)
author Hans-G?nter Theisgen
date Mon Jul 18 14:19:27 2022 +0100 (2022-07-18)
parents 9aa658b57a83
children 5db546345599
rev   line source
pascal@14505 1 # SliTaz package receipt.
pascal@14505 2
pascal@14505 3 PACKAGE="miniupnpc"
pascal@20398 4 VERSION="2.1"
pascal@14505 5 CATEGORY="network"
pascal@14505 6 SHORT_DESC="UPnP Internet Gateway Device (IGD) specifications client."
pascal@14505 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15583 8 LICENSE="BSD"
pascal@20398 9 TARBALL="${PACKAGE}_${VERSION/./_}.tar.gz"
pascal@14505 10 WEB_SITE="http://miniupnp.tuxfamily.org/"
pascal@20398 11 WGET_URL="https://github.com/miniupnp/miniupnp/archive/$TARBALL"
pascal@19008 12 TAGS="upnp"
pascal@14505 13
pascal@14505 14 DEPENDS=""
pascal@14505 15 BUILD_DEPENDS=""
pascal@14505 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;/miniupnpc/!d;s|.*/miniupnpc_\(.*\).tar.*|\1|;s|_|.|g;q'
pascal@24055 21 }
pascal@24055 22
pascal@14505 23 # Rules to configure and make the package.
pascal@14505 24 compile_rules()
pascal@14505 25 {
pascal@20398 26 cd $src/miniupnpc
pascal@14505 27 make &&
pascal@20153 28 make DESTDIR=$DESTDIR install
pascal@14505 29 }
pascal@14505 30
pascal@14505 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14505 32 genpkg_rules()
pascal@14505 33 {
pascal@14505 34 mkdir -p $fs/usr/lib
pascal@14505 35 cp -a $install/usr/bin $fs/usr
pascal@14505 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14505 37 }