wok-next annotate swig/receipt @ rev 7249

Up: xorg-xtrans to 1.2.6.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 14 15:44:20 2010 +0000 (2010-11-14)
parents
children b28b4b14a1de
rev   line source
slaxemulator@6872 1 # SliTaz package receipt.
slaxemulator@6872 2
slaxemulator@6872 3 PACKAGE="swig"
slaxemulator@6872 4 VERSION="2.0.1"
slaxemulator@6872 5 CATEGORY="development"
slaxemulator@6872 6 MAINTAINER="devel@slitaz.org"
slaxemulator@6872 7 SHORT_DESC="A compiler that makes it easy to integrate C and C++ code with scripting languages"
slaxemulator@6872 8 BUILD_DEPENDS="pcre-dev zlib-dev pkg-config"
slaxemulator@6872 9 WEB_SITE="http://www.swig.org/"
slaxemulator@6872 10 DEPENDS="gcc-lib-base zlib pcre"
slaxemulator@6872 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6872 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@6872 13 TAGS="compiler"
slaxemulator@6872 14
slaxemulator@6872 15 # Rules to configure and make the package.
slaxemulator@6872 16
slaxemulator@6872 17 compile_rules() {
slaxemulator@6872 18 cd $src
slaxemulator@6872 19 ./configure --prefix=/usr &&
slaxemulator@6872 20 make &&
slaxemulator@6872 21 make DESTDIR=$PWD/_pkg install
slaxemulator@6872 22 }
slaxemulator@6872 23
slaxemulator@6872 24 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6872 25 genpkg_rules()
slaxemulator@6872 26 {
slaxemulator@6872 27 mkdir -p $fs/usr/share
slaxemulator@6872 28 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@6872 29 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
slaxemulator@6872 30
slaxemulator@6872 31 }