wok-next view lgi/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents d43bf7aae921
children 624ffd1bb925
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lgi"
4 VERSION="0.7.2"
5 CATEGORY="development"
6 SHORT_DESC="Dynamic Lua binding to GObject libraries using GObject-Introspection"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/pavouk/lgi"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/pavouk/lgi/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="gobject-introspection-dev lua-dev"
15 # add "cairo-dev gtk+-dev" for `make check`
17 compile_rules() {
18 # fix paths
19 sed -i 's|/usr/local|/usr|g;s|5.1|5.3|g;s|51|53|g' \
20 $src/lgi/Makefile $src/lgi/core.lua $src/lgi/core.c
21 # `make check` after `make` produces error
22 make &&
23 make PREFIX=/usr DESTDIR=$install install
24 }
26 genpkg_rules() {
27 cp -a $install/* $fs
28 DEPENDS="glib gobject-introspection lua"
29 }