wok annotate swig/receipt @ rev 19652

Up python-pypdf (1.26.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 24 17:16:36 2017 +0100 (2017-01-24)
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 }