wok view swig/receipt @ rev 25666

Up c-ares (1.27.0), cpio (2.15), dnsmasq (2.90), dovecot (2.3.21), fetchmail (6.4.38), file (5.45), firejail (0.9.72), flac (1.4.3), freeradius (3.2.3), freetype (2.13.2), fribidi (1.0.13)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 12:01:55 2024 +0000 (8 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 }