wok-current annotate swig/receipt @ rev 16617
libgd: it build with same receipt than december 2013 - but with error on libgd-config that may be present for a long time
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 08 20:04:50 2014 +0200 (2014-05-08) |
parents | 8cfc8629accd |
children | 22b5cca12e48 |
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" |
pascal@15581 | 7 LICENSE="GPL3" |
slaxemulator@6872 | 8 SHORT_DESC="A compiler that makes it easy to integrate C and C++ code with scripting languages" |
slaxemulator@6872 | 9 WEB_SITE="http://www.swig.org/" |
slaxemulator@6872 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6872 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@6872 | 12 TAGS="compiler" |
slaxemulator@6872 | 13 |
slaxemulator@10357 | 14 DEPENDS="gcc-lib-base zlib pcre" |
slaxemulator@10357 | 15 BUILD_DEPENDS="pcre-dev zlib-dev pkg-config" |
slaxemulator@10357 | 16 |
slaxemulator@6872 | 17 # Rules to configure and make the package. |
slaxemulator@11735 | 18 compile_rules() |
slaxemulator@11735 | 19 { |
slaxemulator@10357 | 20 cd $src |
slaxemulator@11735 | 21 ./configure --prefix=/usr $CONFIGURE_ARGS && |
slaxemulator@10357 | 22 make && make install |
slaxemulator@6872 | 23 } |
slaxemulator@6872 | 24 |
slaxemulator@6872 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6872 | 26 genpkg_rules() |
slaxemulator@6872 | 27 { |
slaxemulator@6872 | 28 mkdir -p $fs/usr/share |
pascal@15581 | 29 cp -a $install/usr/bin $fs/usr |
pascal@15581 | 30 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
slaxemulator@6872 | 31 } |