wok-next annotate swig/receipt @ rev 11140

Up: wxWidgets to 2.8.12.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Oct 26 21:04:08 2011 +0000 (2011-10-26)
parents f08d28e3dde8
children 8cfc8629accd
rev   line source
slaxemulator@6872 1 # SliTaz package receipt.
slaxemulator@6872 2
slaxemulator@6872 3 PACKAGE="swig"
slaxemulator@9564 4 VERSION="2.0.3"
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 WEB_SITE="http://www.swig.org/"
slaxemulator@6872 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6872 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@6872 11 TAGS="compiler"
slaxemulator@6872 12
slaxemulator@10357 13 DEPENDS="gcc-lib-base zlib pcre"
slaxemulator@10357 14 BUILD_DEPENDS="pcre-dev zlib-dev pkg-config"
slaxemulator@10357 15
slaxemulator@6872 16 # Rules to configure and make the package.
slaxemulator@6872 17 compile_rules() {
slaxemulator@10357 18 cd $src
slaxemulator@10357 19 ./configure $CONFIGURE_ARGS &&
slaxemulator@10357 20 make && make install
slaxemulator@6872 21 }
slaxemulator@6872 22
slaxemulator@6872 23 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6872 24 genpkg_rules()
slaxemulator@6872 25 {
slaxemulator@6872 26 mkdir -p $fs/usr/share
slaxemulator@6872 27 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@6872 28 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
slaxemulator@6872 29
slaxemulator@6872 30 }