wok view swig/receipt @ rev 19922

Up ipxe (1.0.0-20170417)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 20 09:45:12 2017 +0200 (2017-04-20)
parents 8cfc8629accd
children 22b5cca12e48
line source
1 # SliTaz package receipt.
3 PACKAGE="swig"
4 VERSION="2.0.4"
5 CATEGORY="development"
6 MAINTAINER="devel@slitaz.org"
7 LICENSE="GPL3"
8 SHORT_DESC="A compiler that makes it easy to integrate C and C++ code with scripting languages"
9 WEB_SITE="http://www.swig.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="compiler"
14 DEPENDS="gcc-lib-base zlib pcre"
15 BUILD_DEPENDS="pcre-dev zlib-dev pkg-config"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr $CONFIGURE_ARGS &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/share/$PACKAGE $fs/usr/share
31 }