wok-next view swig/receipt @ rev 19812
Up cookutils, libatasmart, libfm-extra, libfm, lxappearance, lxmenu-data, menu-cache, pcmanfm.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jul 20 05:10:04 2017 +0300 (2017-07-20) |
parents | 8cfc8629accd |
children | d43bf7aae921 |
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 }