wok-6.x view swig/receipt @ rev 11066
Up: b43-fwcutter to 015.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 17 00:44:16 2011 +0000 (2011-10-17) |
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 }