wok-next rev 21604

updated duktape (2.3.0 -> 2.5.0)
author Hans-G?nter Theisgen
date Wed Jun 24 15:30:47 2020 +0100 (2020-06-24)
parents bbdeb9628400
children fd95e92094fe
files duktape/receipt
line diff
     1.1 --- a/duktape/receipt	Wed Jun 24 15:25:04 2020 +0100
     1.2 +++ b/duktape/receipt	Wed Jun 24 15:30:47 2020 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="duktape"
     1.7 -VERSION="2.3.0"
     1.8 +VERSION="2.5.0"
     1.9  CATEGORY="libs"
    1.10  SHORT_DESC="Embeddable Javascript engine"
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12 @@ -10,16 +10,20 @@
    1.13  
    1.14  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.15  WGET_URL="https://duktape.org/$TARBALL"
    1.16 -TARBALL_MD5="352105b39979fc766bbd0b3721e8c2b5"
    1.17 +TARBALL_MD5="e55fe3830f0d469dc67205b380515af0"
    1.18  
    1.19  SPLIT="$PACKAGE-dev"
    1.20  
    1.21 -compile_rules() {
    1.22 +compile_rules()
    1.23 +{
    1.24  	mv Makefile.sharedlibrary Makefile
    1.25 -	sed -i.orig 's|-Wall -Wextra|$(CFLAGS)|g' Makefile
    1.26 -	sed -i "s|/usr/local|$install/usr|" Makefile
    1.27 +	sed -i.orig 's|-Wall -Wextra|$(CFLAGS)|g' \
    1.28 +		Makefile
    1.29 +	sed -i "s|/usr/local|$install/usr|" \
    1.30 +		Makefile
    1.31  	cp $stuff/duktape.pc .
    1.32 -	sed -i "s|@@VERSION@@|$VERSION|" duktape.pc
    1.33 +	sed -i "s|@@VERSION@@|$VERSION|" \
    1.34 +		duktape.pc
    1.35  
    1.36  	CFLAGS="$CFLAGS -D DUK_USE_FASTINT -w" \
    1.37  	make || return 1
    1.38 @@ -28,10 +32,11 @@
    1.39  		$install/usr/lib/pkgconfig/ \
    1.40  		$install/usr/include/
    1.41  	make install
    1.42 -	cp duktape.pc $install/usr/lib/pkgconfig/
    1.43 +	cp duktape.pc	$install/usr/lib/pkgconfig/
    1.44  }
    1.45  
    1.46 -genpkg_rules() {
    1.47 +genpkg_rules()
    1.48 +{
    1.49  	case $PACKAGE in
    1.50  		duktape) copy @std;;
    1.51  		*-dev)   copy @dev;;