wok-current view swig/receipt @ rev 11567
Add tor-arm form wok-undigest
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 25 15:19:28 2011 +0100 (2011-12-25) |
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 }