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

Up: ffplay (0.10.3)
author Dominique Corbex <domcox@slitaz.org>
date Wed May 23 13:01:12 2012 +0200 (2012-05-23)
parents fdc03c237282
children c4f226b02549
line source
1 # SliTaz package receipt.
3 PACKAGE="swig"
4 VERSION="2.0.4"
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 {
19 cd $src
20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
31 }