wok-current rev 21993

updated swig (2.0.4 -> 4.0.1)
author Hans-G?nter Theisgen
date Wed Oct 16 17:12:53 2019 +0100 (2019-10-16)
parents 1e82e1cd5b49
children be3655da32a1
files swig/receipt
line diff
     1.1 --- a/swig/receipt	Wed Oct 16 16:57:23 2019 +0100
     1.2 +++ b/swig/receipt	Wed Oct 16 17:12:53 2019 +0100
     1.3 @@ -1,31 +1,33 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="swig"
     1.7 -VERSION="2.0.4"
     1.8 +VERSION="4.0.1"
     1.9  CATEGORY="development"
    1.10 +TAGS="compiler"
    1.11  MAINTAINER="devel@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13 -SHORT_DESC="A compiler that makes it easy to integrate C and C++ code with scripting languages"
    1.14 +SHORT_DESC="A compiler that makes it easy to integrate C and C++ code with scripting languages."
    1.15  WEB_SITE="http://www.swig.org/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 -TAGS="compiler"
    1.20  
    1.21 -DEPENDS="gcc-lib-base zlib pcre"
    1.22 -BUILD_DEPENDS="pcre-dev zlib-dev pkg-config"
    1.23 +DEPENDS="gcc-lib-base pcre zlib"
    1.24 +BUILD_DEPENDS="pcre-dev pkg-config zlib-dev"
    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 && make install
    1.32 +	make &&
    1.33 +	make install
    1.34  }
    1.35  	
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37  genpkg_rules()
    1.38  {
    1.39  	mkdir -p $fs/usr/share
    1.40 -	cp -a $install/usr/bin $fs/usr
    1.41 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    1.42 +
    1.43 +	cp -a $install/usr/bin			$fs/usr
    1.44 +	cp -a $install/usr/share/$PACKAGE	$fs/usr/share
    1.45  }