wok-6.x view lgi/receipt @ rev 21968

updated sshguard (2.2.0 -> 2.4.0)
author Hans-G?nter Theisgen
date Fri Oct 11 13:01:05 2019 +0100 (2019-10-11)
parents 1d98908f8e3b
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="lgi"
4 VERSION="0.9.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 DEPENDS="glib gobject-introspection lua"
15 BUILD_DEPENDS="gobject-introspection-dev lua-dev"
16 # add "cairo-dev gtk+-dev" for `make check`
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # fix paths
22 sed -i 's|/usr/local|/usr|g;s|5.1|5.2|g;s|51|52|g' \
23 $src/lgi/Makefile $src/lgi/core.lua $src/lgi/core.c
25 # `make check` after `make` produces error
26 make -j 1 &&
27 make PREFIX=/usr DESTDIR=$install install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 }