wok-4.x rev 6872

Added swig. Needed for mlt-python-bingings.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Oct 20 21:05:21 2010 +0000 (2010-10-20)
parents bcedfed93a5b
children 4742a035ef9b
files swig/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/swig/receipt	Wed Oct 20 21:05:21 2010 +0000
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="swig"
     1.7 +VERSION="2.0.1"
     1.8 +CATEGORY="development"
     1.9 +MAINTAINER="devel@slitaz.org"
    1.10 +SHORT_DESC="A compiler that makes it easy to integrate C and C++ code with scripting languages"
    1.11 +BUILD_DEPENDS="pcre-dev zlib-dev pkg-config"
    1.12 +WEB_SITE="http://www.swig.org/"
    1.13 +DEPENDS="gcc-lib-base zlib pcre"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +TAGS="compiler"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +
    1.20 +compile_rules() {
    1.21 +  cd $src
    1.22 +  ./configure --prefix=/usr &&
    1.23 +  make &&
    1.24 +  make DESTDIR=$PWD/_pkg install
    1.25 +}
    1.26 +	
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/share
    1.31 +	cp -a $_pkg/usr/bin $fs/usr
    1.32 +	cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
    1.33 +	
    1.34 +}