wok-undigest rev 72
Add swig
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Apr 20 08:16:56 2010 -0400 (2010-04-20) |
parents | cc6e4691f10c |
children | 8350d987bef1 |
files | swig/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/swig/receipt Tue Apr 20 08:16:56 2010 -0400 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="swig" 1.7 +VERSION="1.3.40" 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=" zlib-dev " 1.12 +WEB_SITE="http://www.swig.org/" 1.13 +DEPENDS="gcc-lib-base zlib" 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="http://downloads.sourceforge.net/$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 +}