wok-next view lgi/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
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 }