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