wok-next view 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 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gcab"
4 VERSION="1.1"
5 CATEGORY="utilities"
6 SHORT_DESC="GObject library to create cabinet files"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://wiki.gnome.org/msitools"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/$VERSION/$TARBALL"
14 BUILD_DEPENDS="meson ninja git glib-dev gobject-introspection-dev vala \
15 gettext-dev intltool"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 fix utf-8; export LC_ALL=en_US.UTF-8
21 mkdir build
22 cd build
24 meson-wrapper \
25 -D docs=false &&
26 ninja &&
27 ninja install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 gcab)
33 copy @std
34 DEPENDS="glib zlib"
35 ;;
36 *-dev)
37 copy @dev
38 DEPENDS="gcab glib-dev"
39 ;;
40 esac
41 }