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

cookutils: build core-5in1 weekly too
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 06 13:48:21 2019 +0200 (2019-08-06)
parents 8cfc8629accd
children 22b5cca12e48
line source
1 # SliTaz package receipt.
3 PACKAGE="swig"
4 VERSION="2.0.4"
5 CATEGORY="development"
6 MAINTAINER="devel@slitaz.org"
7 LICENSE="GPL3"
8 SHORT_DESC="A compiler that makes it easy to integrate C and C++ code with scripting languages"
9 WEB_SITE="http://www.swig.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="compiler"
14 DEPENDS="gcc-lib-base zlib pcre"
15 BUILD_DEPENDS="pcre-dev zlib-dev pkg-config"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr $CONFIGURE_ARGS &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/share/$PACKAGE $fs/usr/share
31 }