# HG changeset patch # User Christopher Rogers # Date 1287608721 0 # Node ID 4d5019aba2d2e183abc07de00da5bf801008a1ea # Parent bcedfed93a5b0968d42bae2560c5b81c57a07d0c Added swig. Needed for mlt-python-bingings. diff -r bcedfed93a5b -r 4d5019aba2d2 swig/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/swig/receipt Wed Oct 20 21:05:21 2010 +0000 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="swig" +VERSION="2.0.1" +CATEGORY="development" +MAINTAINER="devel@slitaz.org" +SHORT_DESC="A compiler that makes it easy to integrate C and C++ code with scripting languages" +BUILD_DEPENDS="pcre-dev zlib-dev pkg-config" +WEB_SITE="http://www.swig.org/" +DEPENDS="gcc-lib-base zlib pcre" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +TAGS="compiler" + +# Rules to configure and make the package. + +compile_rules() { + cd $src + ./configure --prefix=/usr && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share + +}