wok diff newt/receipt @ rev 21747

tazboot: spare 2k
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 14 17:17:16 2019 +0200 (16 months ago)
parents 200d202603ff
children 08707fe48dcf
line diff
     1.1 --- a/newt/receipt	Tue Feb 14 08:37:15 2017 +0100
     1.2 +++ b/newt/receipt	Fri Jun 14 17:17:16 2019 +0200
     1.3 @@ -1,17 +1,18 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="newt"
     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"
    1.11 +SHORT_DESC="Not Erik's Windowing Toolkit."
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://pagure.io/newt/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="https://fedorahosted.org/newt/"
    1.18 -WGET_URL="https://fedorahosted.org/releases/n/e/$PACKAGE/$TARBALL"
    1.19 +WGET_URL="https://releases.pagure.org/$PACKAGE/$TARBALL"
    1.20  
    1.21 -DEPENDS="slang popt tcl"
    1.22 -BUILD_DEPENDS="slang-dev tcl popt-dev python-dev wget"
    1.23 +DEPENDS="popt slang tcl"
    1.24 +BUILD_DEPENDS="popt-dev python-dev slang-dev tcl"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28 @@ -23,8 +24,12 @@
    1.29  	sed -i -e "s/python2.4/$python/" \
    1.30  		-e "s/tcl8.4/$tcl/" \
    1.31  	     Makefile.in
    1.32 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.33 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.34 +
    1.35 +	./configure				\
    1.36 +		--prefix=/usr			\
    1.37 +		--infodir=/usr/share/info	\
    1.38 +		--mandir=/usr/share/man		\
    1.39 +		$CONFIGURE_ARGS &&
    1.40  	make &&
    1.41  	make instroot=$DESTDIR install
    1.42  }
    1.43 @@ -33,7 +38,8 @@
    1.44  genpkg_rules()
    1.45  {
    1.46  	mkdir -p $fs/usr/lib
    1.47 -	cp -a $install/usr/bin $fs/usr
    1.48 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.49 -	cp -a $install/usr/lib/python* $fs/usr/lib
    1.50 +
    1.51 +	cp -a $install/usr/bin		$fs/usr
    1.52 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.53 +	cp -a $install/usr/lib/python*	$fs/usr/lib
    1.54  }