wok-next annotate swig/receipt @ rev 11735

Up: swig to 2.0.4.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Feb 21 15:13:52 2012 -0500 (2012-02-21)
parents fdc03c237282
children c4f226b02549
rev   line source
slaxemulator@6872 1 # SliTaz package receipt.
slaxemulator@6872 2
slaxemulator@6872 3 PACKAGE="swig"
slaxemulator@11735 4 VERSION="2.0.4"
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@11735 17 compile_rules()
slaxemulator@11735 18 {
slaxemulator@10357 19 cd $src
slaxemulator@11735 20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
slaxemulator@10357 21 make && make 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 }