wok view swig/receipt @ rev 22629
updated darkstat (3.0.713 -> 3.0.719)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 13 07:59:55 2020 +0100 (2020-01-13) |
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 }