wok-6.x view swig/receipt @ rev 10599
parole: fix bdeps and clean
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 26 15:26:37 2011 +0200 (2011-05-26) |
parents | f08d28e3dde8 |
children | 8cfc8629accd |
line source
1 # SliTaz package receipt.
3 PACKAGE="swig"
4 VERSION="2.0.3"
5 CATEGORY="development"
6 MAINTAINER="devel@slitaz.org"
7 SHORT_DESC="A compiler that makes it easy to integrate C and C++ code with scripting languages"
8 WEB_SITE="http://www.swig.org/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 TAGS="compiler"
13 DEPENDS="gcc-lib-base zlib pcre"
14 BUILD_DEPENDS="pcre-dev zlib-dev pkg-config"
16 # Rules to configure and make the package.
17 compile_rules() {
18 cd $src
19 ./configure $CONFIGURE_ARGS &&
20 make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
30 }