wok-current view swig/receipt @ rev 14129

esound: recook using existing upgraded audiofile-1 instead of absent old audiofile-0
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Feb 28 10:12:51 2013 +0000 (2013-02-28)
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 }