wok rev 21540

updated newt and newt-dev (0.52.19 -> 0.52.20)
author Hans-G?nter Theisgen
date Sun May 05 17:10:18 2019 +0100 (2019-05-05)
parents 163f71af5751
children ce3da0799929
files newt-dev/receipt newt/receipt
line diff
     1.1 --- a/newt-dev/receipt	Sun May 05 16:40:54 2019 +0100
     1.2 +++ b/newt-dev/receipt	Sun May 05 17:10:18 2019 +0100
     1.3 @@ -1,20 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="newt-dev"
     1.7 -VERSION="0.52.19"
     1.8 +VERSION="0.52.20"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Not Erik's Windowing Toolkit dev files"
    1.11 +SHORT_DESC="Not Erik's Windowing Toolkit - development files."
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -WANTED="newt"
    1.15 -WEB_SITE="https://fedorahosted.org/newt/"
    1.16 +WEB_SITE="https://pagure.io/newt/"
    1.17  
    1.18  DEPENDS="newt"
    1.19 +WANTED="newt"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24  	mkdir -p $fs/usr/lib
    1.25 -	cp -a $install/usr/include $fs/usr
    1.26 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.27 +
    1.28 +	cp -a $install/usr/include	$fs/usr
    1.29 +	cp -a $install/usr/lib/*.*a	$fs/usr/lib
    1.30  }
     2.1 --- a/newt/receipt	Sun May 05 16:40:54 2019 +0100
     2.2 +++ b/newt/receipt	Sun May 05 17:10:18 2019 +0100
     2.3 @@ -1,17 +1,18 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="newt"
     2.7 -VERSION="0.52.19"
     2.8 +VERSION="0.52.20"
     2.9  CATEGORY="development"
    2.10 -SHORT_DESC="Not Erik's Windowing Toolkit"
    2.11 +SHORT_DESC="Not Erik's Windowing Toolkit."
    2.12  MAINTAINER="erjo@slitaz.org"
    2.13  LICENSE="GPL2"
    2.14 +WEB_SITE="https://pagure.io/newt/"
    2.15 +
    2.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.17 -WEB_SITE="https://fedorahosted.org/newt/"
    2.18 -WGET_URL="https://fedorahosted.org/releases/n/e/$PACKAGE/$TARBALL"
    2.19 +WGET_URL="https://releases.pagure.org/$PACKAGE/$TARBALL"
    2.20  
    2.21 -DEPENDS="slang popt tcl"
    2.22 -BUILD_DEPENDS="slang-dev tcl popt-dev python-dev wget"
    2.23 +DEPENDS="popt slang tcl"
    2.24 +BUILD_DEPENDS="popt-dev python-dev slang-dev tcl"
    2.25  
    2.26  # Rules to configure and make the package.
    2.27  compile_rules()
    2.28 @@ -23,8 +24,12 @@
    2.29  	sed -i -e "s/python2.4/$python/" \
    2.30  		-e "s/tcl8.4/$tcl/" \
    2.31  	     Makefile.in
    2.32 -	./configure --prefix=/usr --infodir=/usr/share/info \
    2.33 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    2.34 +
    2.35 +	./configure				\
    2.36 +		--prefix=/usr			\
    2.37 +		--infodir=/usr/share/info	\
    2.38 +		--mandir=/usr/share/man		\
    2.39 +		$CONFIGURE_ARGS &&
    2.40  	make &&
    2.41  	make instroot=$DESTDIR install
    2.42  }
    2.43 @@ -33,7 +38,8 @@
    2.44  genpkg_rules()
    2.45  {
    2.46  	mkdir -p $fs/usr/lib
    2.47 -	cp -a $install/usr/bin $fs/usr
    2.48 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.49 -	cp -a $install/usr/lib/python* $fs/usr/lib
    2.50 +
    2.51 +	cp -a $install/usr/bin		$fs/usr
    2.52 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    2.53 +	cp -a $install/usr/lib/python*	$fs/usr/lib
    2.54  }