wok-next diff lgi/receipt @ rev 21323

lcdnurse: added build dependency wxWidgets28
author Hans-G?nter Theisgen
date Wed Dec 11 14:19:01 2019 +0100 (2019-12-11)
parents b19ddba309f9
children
line diff
     1.1 --- a/lgi/receipt	Fri Mar 23 10:45:35 2018 +0200
     1.2 +++ b/lgi/receipt	Wed Dec 11 14:19:01 2019 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="lgi"
     1.7 -VERSION="0.7.2"
     1.8 +VERSION="0.9.2"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Dynamic Lua binding to GObject libraries using GObject-Introspection"
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12 @@ -12,18 +12,18 @@
    1.13  WGET_URL="https://github.com/pavouk/lgi/archive/$VERSION.tar.gz"
    1.14  
    1.15  BUILD_DEPENDS="gobject-introspection-dev lua-dev"
    1.16 -# add "cairo-dev gtk+-dev" for `make check`
    1.17  
    1.18  compile_rules() {
    1.19  	# fix paths
    1.20 -	sed -i 's|/usr/local|/usr|g;s|5.1|5.3|g;s|51|53|g' \
    1.21 -		$src/lgi/Makefile $src/lgi/core.lua $src/lgi/core.c
    1.22 -	# `make check` after `make` produces error
    1.23 +	sed -i 's|5.1|5.3|g; s|51|53|g' lgi/Makefile lgi/core.lua lgi/core.c
    1.24 +
    1.25  	make &&
    1.26 -	make PREFIX=/usr DESTDIR=$install install
    1.27 +	make PREFIX=/usr DESTDIR=$install install || return 1
    1.28 +
    1.29 +	cook_pick_docs docs/*.md
    1.30  }
    1.31  
    1.32  genpkg_rules() {
    1.33 -	cp -a $install/* $fs
    1.34 -	DEPENDS="glib gobject-introspection lua"
    1.35 +	copy @std
    1.36 +	DEPENDS="glib gobject-introspection libffi lua"
    1.37  }