wok-next view libidl/receipt @ rev 20454
Choose between libpng16 and libpng12
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 17:32:31 2018 +0200 (2018-02-28) |
parents | f5bfda4cdfe9 |
children | d43bf7aae921 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libidl"
4 VERSION="0.8.14"
5 CATEGORY="development"
6 SHORT_DESC="IDL Compiling Library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://github.com/GNOME/libIDL"
10 CROSS="bug: can not run test program"
12 TARBALL="libIDL-$VERSION.tar.bz2"
13 WGET_URL="$GNOME_MIRROR/libIDL/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="bison flex glib-dev pkg-config"
16 SPLIT="libidl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --cache-file=config.cache \
23 --build=$HOST_SYSTEM \
24 --host=$HOST_SYSTEM &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 case $PACKAGE in
32 libidl)
33 copy @std
34 PROVIDE="libIDL"
35 DEPENDS="glib pcre"
36 ;;
37 libidl-dev)
38 copy @dev
39 PROVIDE="libIDL-dev"
40 DEPENDS="glib-dev pcre-dev"
41 ;;
42 esac
43 }