wok-next annotate gcab/receipt @ rev 21637
faad2: added build dependency libtool
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 11:18:23 2020 +0100 (2020-06-26) |
parents | 6beec940a3ac |
children |
rev | line source |
---|---|
al@20951 | 1 # SliTaz package receipt v2. |
al@20951 | 2 |
al@20951 | 3 PACKAGE="gcab" |
al@20951 | 4 VERSION="1.1" |
al@20951 | 5 CATEGORY="utilities" |
al@20951 | 6 SHORT_DESC="GObject library to create cabinet files" |
al@20951 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20951 | 8 LICENSE="LGPL2.1" |
al@20951 | 9 WEB_SITE="https://wiki.gnome.org/msitools" |
al@20951 | 10 |
al@20951 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20951 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/$VERSION/$TARBALL" |
al@20951 | 13 |
al@21020 | 14 BUILD_DEPENDS="meson ninja git glib-dev gobject-introspection-dev vala \ |
al@21020 | 15 gettext-dev intltool" |
al@20951 | 16 SPLIT="$PACKAGE-dev" |
al@20951 | 17 |
al@20951 | 18 compile_rules() { |
al@20951 | 19 fix utf-8; export LC_ALL=en_US.UTF-8 |
al@20951 | 20 |
al@20951 | 21 mkdir build |
al@20951 | 22 cd build |
al@20951 | 23 |
al@20951 | 24 meson-wrapper \ |
al@20951 | 25 -D docs=false && |
al@20951 | 26 ninja && |
al@20951 | 27 ninja install |
al@20951 | 28 } |
al@20951 | 29 |
al@20951 | 30 genpkg_rules() { |
al@20951 | 31 case $PACKAGE in |
al@20951 | 32 gcab) |
al@20951 | 33 copy @std |
al@20951 | 34 DEPENDS="glib zlib" |
al@20951 | 35 ;; |
al@20951 | 36 *-dev) |
al@20951 | 37 copy @dev |
al@20951 | 38 DEPENDS="gcab glib-dev" |
al@20951 | 39 ;; |
al@20951 | 40 esac |
al@20951 | 41 } |