wok-stable annotate swig/receipt @ rev 9564
Up: swig to 2.0.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Apr 11 22:46:22 2011 +0000 (2011-04-11) |
parents | b28b4b14a1de |
children | fdc03c237282 |
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 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 } |