wok-next diff miniupnpc/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | deb814751077 |
children |
line diff
1.1 --- a/miniupnpc/receipt Mon Dec 18 12:55:43 2017 +0100 1.2 +++ b/miniupnpc/receipt Tue Sep 01 10:31:46 2020 +0000 1.3 @@ -3,39 +3,29 @@ 1.4 PACKAGE="miniupnpc" 1.5 VERSION="2.0.20171212" 1.6 CATEGORY="network" 1.7 -SHORT_DESC="UPnP Internet Gateway Device (IGD) specifications client." 1.8 +SHORT_DESC="UPnP Internet Gateway Device (IGD) specifications client" 1.9 MAINTAINER="pascal.bellard@slitaz.org" 1.10 LICENSE="BSD" 1.11 +WEB_SITE="http://miniupnp.tuxfamily.org/" 1.12 + 1.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 -WEB_SITE="http://miniupnp.tuxfamily.org/" 1.15 WGET_URL="$WEB_SITE/files/$TARBALL" 1.16 -TAGS="upnp" 1.17 1.18 -BUILD_DEPENDS="" 1.19 -SPLIT="miniupnpc-dev" 1.20 +SPLIT="$PACKAGE-dev" 1.21 1.22 -# Rules to configure and make the package. 1.23 -compile_rules() 1.24 -{ 1.25 +compile_rules() { 1.26 make && 1.27 - make DESTDIR=$DESTDIR install 1.28 + make DESTDIR=$install install 1.29 } 1.30 1.31 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 -genpkg_rules() 1.33 -{ 1.34 +genpkg_rules() { 1.35 case $PACKAGE in 1.36 - miniupnpc) 1.37 - DEPENDS="" 1.38 - mkdir -p $fs/usr/lib 1.39 - cp -a $install/usr/bin $fs/usr 1.40 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.41 - ;; 1.42 - miniupnpc-dev) 1.43 - DEPENDS="miniupnpc" 1.44 - mkdir -p $fs/usr/lib 1.45 - cp -a $install/usr/include $fs/usr 1.46 - cp -a $install/usr/lib/*a $fs/usr/lib 1.47 - ;; 1.48 + miniupnpc) 1.49 + copy @std 1.50 + TAGS="upnp" 1.51 + ;; 1.52 + *-dev) 1.53 + copy @dev 1.54 + ;; 1.55 esac 1.56 }