wok-6.x view swig/receipt @ rev 23350

updated perl-io-socket-inet6 (2.56 -> 2.72)
author Hans-G?nter Theisgen
date Tue Mar 31 09:47:36 2020 +0100 (2020-03-31)
parents c4f226b02549
children e2d7785559f5
line source
1 # SliTaz package receipt.
3 PACKAGE="swig"
4 VERSION="4.0.1"
5 CATEGORY="development"
6 TAGS="compiler"
7 MAINTAINER="devel@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 --prefix=/usr $CONFIGURE_ARGS &&
22 make &&
23 make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share/$PACKAGE $fs/usr/share
33 }