wok-undigest annotate swig/receipt @ rev 118

Add: xvidcore (1.2.2)
author Alexander Medvedev <devl547@gmail.com>
date Wed May 12 20:18:49 2010 +0000 (2010-05-12)
parents
children
rev   line source
jozee@72 1 # SliTaz package receipt.
jozee@72 2
jozee@72 3 PACKAGE="swig"
jozee@72 4 VERSION="1.3.40"
jozee@72 5 CATEGORY="development"
jozee@72 6 MAINTAINER="devel@slitaz.org"
jozee@72 7 SHORT_DESC="A compiler that makes it easy to integrate C and C++ code with scripting languages"
jozee@72 8 BUILD_DEPENDS=" zlib-dev "
jozee@72 9 WEB_SITE="http://www.swig.org/"
jozee@72 10 DEPENDS="gcc-lib-base zlib"
jozee@72 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@72 12 WGET_URL="http://downloads.sourceforge.net/$PACKAGE/$TARBALL"
jozee@72 13 TAGS="compiler"
jozee@72 14
jozee@72 15 # Rules to configure and make the package.
jozee@72 16
jozee@72 17 compile_rules() {
jozee@72 18 cd $src
jozee@72 19 ./configure --prefix=/usr &&
jozee@72 20 make &&
jozee@72 21 make DESTDIR=$PWD/_pkg install
jozee@72 22 }
jozee@72 23
jozee@72 24 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@72 25 genpkg_rules()
jozee@72 26 {
jozee@72 27 mkdir -p $fs/usr/share
jozee@72 28 cp -a $_pkg/usr/bin $fs/usr
jozee@72 29 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
jozee@72 30
jozee@72 31 }