wok-next annotate gcab/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
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 }