wok view swig/receipt @ rev 21096
updated laptop-mode-tools (1.60 -> 1.72.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 16 17:35:06 2019 +0100 (2019-03-16) |
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 }