wok view 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
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="http://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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make &&
25 make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share/$PACKAGE $fs/usr/share
35 }