wok view swig/receipt @ rev 15934

Up: libdbusmenu-qt (0.9.2)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Feb 22 11:26:33 2014 +0100 (2014-02-22)
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 }