wok-next diff newt/receipt @ rev 11564

Add ranger form wok-undigest
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 25 15:19:22 2011 +0100 (2011-12-25)
parents a40238673a42
children 3765f181a6d5
line diff
     1.1 --- a/newt/receipt	Wed Jun 23 15:14:21 2010 +0200
     1.2 +++ b/newt/receipt	Sun Dec 25 15:19:22 2011 +0100
     1.3 @@ -1,23 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="newt"
     1.7 -VERSION="0.52.2"
     1.8 +VERSION="0.52.12"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Not Erik's Windowing Toolkit"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12  DEPENDS="slang popt tcl"
    1.13 -BUILD_DEPENDS="slang-dev tcl popt-dev python-dev"
    1.14 +BUILD_DEPENDS="slang-dev tcl popt-dev python-dev wget"
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://packages.debian.org/etch/libnewt0.52"
    1.17 -WGET_URL="http://mirror.pimentvert.com/sources/newt/$TARBALL"
    1.18 +WEB_SITE="https://fedorahosted.org/newt/"
    1.19 +WGET_URL="https://fedorahosted.org/releases/n/e/$PACKAGE/$TARBALL"
    1.20  
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24  	cd $src
    1.25 -	
    1.26 -	# Fixe group/owner
    1.27 -	chown -R root.root $src
    1.28  
    1.29  	python=$(ls -d /usr/lib/python*/ | sed 's|/usr/lib/\(.*\)/|\1|' | head -1)
    1.30  	tcl=$(ls /usr/lib/libtcl*.so | sed 's|/usr/lib/lib\(.*\).so|\1|')
    1.31 @@ -39,10 +36,5 @@
    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 -
    1.36 -	# Bug fix
    1.37 -	cd $fs/usr/lib
    1.38 -	ln -s libnewt.so.0.52.1 libnewt.so.0.52
    1.39 -	strip -s $fs/usr/lib/*
    1.40  }
    1.41