wok diff slang/receipt @ rev 23607

Up slitaz-boot-scripts (459)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 12 10:18:55 2020 +0000 (2020-04-12)
parents d3eb5f4b53ea
children 934055de50e2
line diff
     1.1 --- a/slang/receipt	Thu Mar 26 09:34:19 2015 +0100
     1.2 +++ b/slang/receipt	Sun Apr 12 10:18:55 2020 +0000
     1.3 @@ -1,25 +1,24 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="slang"
     1.7 -VERSION="2.2.4"
     1.8 +VERSION="2.3.2"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="S-Lang library"
    1.11 +SHORT_DESC="S-Lang library."
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 -WEB_SITE="http://www.s-lang.org/index.html"
    1.16 -WGET_URL="ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v${VERSION%.*}/$TARBALL
    1.17 - ftp://space.mit.edu/pub/davis/slang/v${VERSION%.*}/$TARBALL"
    1.18 +WEB_SITE="http://jedsoft.org/slang/"
    1.19  
    1.20 -DEPENDS="pcre libpng zlib"
    1.21 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.22 +WGET_URL="http://jedsoft.org/releases/$PACKAGE/$TARBALL"
    1.23 +
    1.24 +DEPENDS="libpng pcre zlib"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	cd $src
    1.30  	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.31 -	make -j1 && \
    1.32 -	make -j1 elf && \
    1.33 +	make -j1 &&
    1.34 +	make -j1 elf &&
    1.35  	make -j1 static &&
    1.36  	make -j1 DESTDIR=$DESTDIR install install-static
    1.37  }
    1.38 @@ -28,8 +27,8 @@
    1.39  genpkg_rules()
    1.40  {
    1.41  	mkdir -p $fs/usr/lib
    1.42 -	cp -a $install/usr/bin $fs/usr
    1.43 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.44 -	cp -a $install/usr/lib/slang $fs/usr/lib
    1.45 +
    1.46 +	cp -a $install/usr/bin		$fs/usr
    1.47 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.48 +	cp -a $install/usr/lib/slang	$fs/usr/lib
    1.49  }
    1.50 -