wok annotate swig/receipt @ rev 25137
updated phpmyadmin (5.0.2 -> 5.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 11:08:48 2022 +0100 (2022-06-29) |
parents | ac8ca9758df1 |
children |
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." |
pascal@24972 | 10 WEB_SITE="https://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 |
pascal@24299 | 18 current_version() |
pascal@24299 | 19 { |
pascal@24299 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24299 | 21 sed '/released/!d;s|.*SWIG-||;s| .*||;q' |
pascal@24299 | 22 } |
pascal@24299 | 23 |
slaxemulator@6872 | 24 # Rules to configure and make the package. |
slaxemulator@11735 | 25 compile_rules() |
slaxemulator@11735 | 26 { |
Hans-G?nter@24297 | 27 ./configure \ |
Hans-G?nter@24297 | 28 --prefix=/usr \ |
Hans-G?nter@24297 | 29 $CONFIGURE_ARGS && |
Hans-G?nter@21993 | 30 make && |
Hans-G?nter@21993 | 31 make install |
slaxemulator@6872 | 32 } |
slaxemulator@6872 | 33 |
slaxemulator@6872 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6872 | 35 genpkg_rules() |
slaxemulator@6872 | 36 { |
slaxemulator@6872 | 37 mkdir -p $fs/usr/share |
Hans-G?nter@21993 | 38 |
Hans-G?nter@21993 | 39 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21993 | 40 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
slaxemulator@6872 | 41 } |