wok view swig/receipt @ rev 25535
updated imlib2 and imlib2-dev 1.8.0 -> 1.10.0
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 02 09:40:16 2023 +0100 (20 months ago) |
parents | ac8ca9758df1 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="swig"
4 VERSION="4.0.2"
5 CATEGORY="development"
6 TAGS="compiler"
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL3"
9 SHORT_DESC="A compiler that makes it easy to integrate C and C++ code with scripting languages."
10 WEB_SITE="https://www.swig.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="gcc-lib-base pcre zlib"
16 BUILD_DEPENDS="pcre-dev pkg-config zlib-dev"
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/released/!d;s|.*SWIG-||;s| .*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/$PACKAGE $fs/usr/share
41 }