wok-next view lgi/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents b19ddba309f9
children
line source
1 # SliTaz package receipt v2.
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 BUILD_DEPENDS="gobject-introspection-dev lua-dev"
16 compile_rules() {
17 # fix paths
18 sed -i 's|5.1|5.3|g; s|51|53|g' lgi/Makefile lgi/core.lua lgi/core.c
20 make &&
21 make PREFIX=/usr DESTDIR=$install install || return 1
23 cook_pick_docs docs/*.md
24 }
26 genpkg_rules() {
27 copy @std
28 DEPENDS="glib gobject-introspection libffi lua"
29 }