wok rev 20398

Up miniupnpc (2.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 27 12:45:10 2018 +0200 (2018-06-27)
parents cb426389dd18
children 23b1c863c107
files miniupnpc-dev/receipt miniupnpc/receipt
line diff
     1.1 --- a/miniupnpc-dev/receipt	Tue Jun 26 20:54:55 2018 +0200
     1.2 +++ b/miniupnpc-dev/receipt	Wed Jun 27 12:45:10 2018 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="miniupnpc-dev"
     1.7 -VERSION="2.0.20171212"
     1.8 +VERSION="2.1"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="UPnP Internet Gateway Device (IGD) specifications client development files."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -9,7 +9,7 @@
    1.13  WEB_SITE="http://miniupnp.tuxfamily.org/"
    1.14  WANTED="miniupnpc"
    1.15  
    1.16 -DEPENDS="miniupnpc"
    1.17 +DEPENDS="miniupnpc pkg-config"
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21 @@ -17,4 +17,5 @@
    1.22  	mkdir -p $fs/usr/lib
    1.23  	cp -a $install/usr/include $fs/usr
    1.24  	cp -a $install/usr/lib/*a $fs/usr/lib
    1.25 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.26  }
     2.1 --- a/miniupnpc/receipt	Tue Jun 26 20:54:55 2018 +0200
     2.2 +++ b/miniupnpc/receipt	Wed Jun 27 12:45:10 2018 +0200
     2.3 @@ -1,14 +1,14 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="miniupnpc"
     2.7 -VERSION="2.0.20171212"
     2.8 +VERSION="2.1"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="UPnP Internet Gateway Device (IGD) specifications client."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="BSD"
    2.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14 +TARBALL="${PACKAGE}_${VERSION/./_}.tar.gz"
    2.15  WEB_SITE="http://miniupnp.tuxfamily.org/"
    2.16 -WGET_URL="$WEB_SITE/files/$TARBALL"
    2.17 +WGET_URL="https://github.com/miniupnp/miniupnp/archive/$TARBALL"
    2.18  TAGS="upnp"
    2.19  
    2.20  DEPENDS=""
    2.21 @@ -17,6 +17,7 @@
    2.22  # Rules to configure and make the package.
    2.23  compile_rules()
    2.24  {
    2.25 +	cd $src/miniupnpc
    2.26  	make &&
    2.27  	make DESTDIR=$DESTDIR install
    2.28  }