wok-6.x annotate swig/receipt @ rev 9242
Up: tazdev, tazwikiss, and slitaz-mercurial-style to 1.0.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Mar 12 16:26:35 2011 +0000 (2011-03-12) |
parents | 4d5019aba2d2 |
children | f08d28e3dde8 |
rev | line source |
---|---|
slaxemulator@6872 | 1 # SliTaz package receipt. |
slaxemulator@6872 | 2 |
slaxemulator@6872 | 3 PACKAGE="swig" |
slaxemulator@8958 | 4 VERSION="2.0.2" |
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 } |