# HG changeset patch # User Hans-G?nter Theisgen # Date 1571242373 -3600 # Node ID 22b5cca12e48a97b05ec8498c5bff9e110663eca # Parent 1e82e1cd5b493c56e9caf45af9c73d95389adc8f updated swig (2.0.4 -> 4.0.1) diff -r 1e82e1cd5b49 -r 22b5cca12e48 swig/receipt --- a/swig/receipt Wed Oct 16 16:57:23 2019 +0100 +++ b/swig/receipt Wed Oct 16 17:12:53 2019 +0100 @@ -1,31 +1,33 @@ # SliTaz package receipt. PACKAGE="swig" -VERSION="2.0.4" +VERSION="4.0.1" CATEGORY="development" +TAGS="compiler" MAINTAINER="devel@slitaz.org" LICENSE="GPL3" -SHORT_DESC="A compiler that makes it easy to integrate C and C++ code with scripting languages" +SHORT_DESC="A compiler that makes it easy to integrate C and C++ code with scripting languages." WEB_SITE="http://www.swig.org/" + TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -TAGS="compiler" -DEPENDS="gcc-lib-base zlib pcre" -BUILD_DEPENDS="pcre-dev zlib-dev pkg-config" +DEPENDS="gcc-lib-base pcre zlib" +BUILD_DEPENDS="pcre-dev pkg-config zlib-dev" # Rules to configure and make the package. compile_rules() { - cd $src ./configure --prefix=/usr $CONFIGURE_ARGS && - make && make install + make && + make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/share/$PACKAGE $fs/usr/share + + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share/$PACKAGE $fs/usr/share }