wok-6.x annotate swig/receipt @ rev 24297
updated swig (4.0.1 -> 4.0.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jan 15 13:48:03 2022 +0100 (2022-01-15) |
parents | 22b5cca12e48 |
children | ac8ca9758df1 |
rev | line source |
---|---|
slaxemulator@6872 | 1 # SliTaz package receipt. |
slaxemulator@6872 | 2 |
slaxemulator@6872 | 3 PACKAGE="swig" |
Hans-G?nter@24297 | 4 VERSION="4.0.2" |
slaxemulator@6872 | 5 CATEGORY="development" |
Hans-G?nter@21993 | 6 TAGS="compiler" |
Hans-G?nter@24297 | 7 MAINTAINER="maintainer@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 { |
Hans-G?nter@24297 | 21 ./configure \ |
Hans-G?nter@24297 | 22 --prefix=/usr \ |
Hans-G?nter@24297 | 23 $CONFIGURE_ARGS && |
Hans-G?nter@21993 | 24 make && |
Hans-G?nter@21993 | 25 make install |
slaxemulator@6872 | 26 } |
slaxemulator@6872 | 27 |
slaxemulator@6872 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6872 | 29 genpkg_rules() |
slaxemulator@6872 | 30 { |
slaxemulator@6872 | 31 mkdir -p $fs/usr/share |
Hans-G?nter@21993 | 32 |
Hans-G?nter@21993 | 33 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21993 | 34 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
slaxemulator@6872 | 35 } |