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

masqmail, mplayer-svn, nagios-nrpe, notify-python, openvas-administrator, openvas-client, openvas-manager, openvas-scanner, perl-xml-entities, pgadmin, python-ipy: update BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 01 16:28:33 2011 +0100 (2011-03-01)
parents
children b28b4b14a1de
line source
1 # SliTaz package receipt.
3 PACKAGE="swig"
4 VERSION="2.0.1"
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 BUILD_DEPENDS="pcre-dev zlib-dev pkg-config"
9 WEB_SITE="http://www.swig.org/"
10 DEPENDS="gcc-lib-base zlib pcre"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="compiler"
15 # Rules to configure and make the package.
17 compile_rules() {
18 cd $src
19 ./configure --prefix=/usr &&
20 make &&
21 make DESTDIR=$PWD/_pkg 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 }