wok-6.x annotate swig/receipt @ 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 | c4f226b02549 |
children | e2d7785559f5 |
rev | line source |
---|---|
slaxemulator@6872 | 1 # SliTaz package receipt. |
slaxemulator@6872 | 2 |
slaxemulator@6872 | 3 PACKAGE="swig" |
Hans-G?nter@21993 | 4 VERSION="4.0.1" |
slaxemulator@6872 | 5 CATEGORY="development" |
Hans-G?nter@21993 | 6 TAGS="compiler" |
slaxemulator@6872 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15581 | 8 LICENSE="GPL3" |
Hans-G?nter@21993 | 9 SHORT_DESC="A compiler that makes it easy to integrate C and C++ code with scripting languages." |
slaxemulator@6872 | 10 WEB_SITE="http://www.swig.org/" |
Hans-G?nter@21993 | 11 |
slaxemulator@6872 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6872 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@6872 | 14 |
Hans-G?nter@21993 | 15 DEPENDS="gcc-lib-base pcre zlib" |
Hans-G?nter@21993 | 16 BUILD_DEPENDS="pcre-dev pkg-config zlib-dev" |
slaxemulator@10357 | 17 |
slaxemulator@6872 | 18 # Rules to configure and make the package. |
slaxemulator@11735 | 19 compile_rules() |
slaxemulator@11735 | 20 { |
slaxemulator@11735 | 21 ./configure --prefix=/usr $CONFIGURE_ARGS && |
Hans-G?nter@21993 | 22 make && |
Hans-G?nter@21993 | 23 make install |
slaxemulator@6872 | 24 } |
slaxemulator@6872 | 25 |
slaxemulator@6872 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6872 | 27 genpkg_rules() |
slaxemulator@6872 | 28 { |
slaxemulator@6872 | 29 mkdir -p $fs/usr/share |
Hans-G?nter@21993 | 30 |
Hans-G?nter@21993 | 31 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21993 | 32 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
slaxemulator@6872 | 33 } |