wok diff newt/receipt @ rev 15584

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 30 17:02:58 2013 +0000 (2013-11-30)
parents aa91b84f09b3
children 17bf4f330c44
line diff
     1.1 --- a/newt/receipt	Tue Feb 15 18:00:32 2011 +0000
     1.2 +++ b/newt/receipt	Sat Nov 30 17:02:58 2013 +0000
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="Not Erik's Windowing Toolkit"
     1.6  MAINTAINER="erjo@slitaz.org"
     1.7 -DEPENDS="slang popt tcl"
     1.8 -BUILD_DEPENDS="slang-dev tcl popt-dev python-dev wget"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="https://fedorahosted.org/newt/"
    1.12  WGET_URL="https://fedorahosted.org/releases/n/e/$PACKAGE/$TARBALL"
    1.13  
    1.14 +DEPENDS="slang popt tcl"
    1.15 +BUILD_DEPENDS="slang-dev tcl popt-dev python-dev wget"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 @@ -26,15 +28,15 @@
    1.21  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.22  	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.23  	make &&
    1.24 -	make instroot=$PWD/_pkg install
    1.25 +	make instroot=$DESTIDR install
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31  	mkdir -p $fs/usr/lib
    1.32 -	cp -a $_pkg/usr/bin $fs/usr
    1.33 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.34 -	cp -a $_pkg/usr/lib/python* $fs/usr/lib
    1.35 +	cp -a $install/usr/bin $fs/usr
    1.36 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.37 +	cp -a $install/usr/lib/python* $fs/usr/lib
    1.38  }
    1.39