wok diff lgi/receipt @ rev 20283
security fixes from 0.3.1.9 (2017 Dec 1) and 0.3.1.10 (March 3)... further info: https://blog.torproject.org/new-stable-tor-releases-security-fixes-and-dos-prevention-03210-03110-02915
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Tue Mar 27 11:09:07 2018 +0000 (2018-03-27) |
parents | |
children | d915ef6e3b53 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lgi/receipt Tue Mar 27 11:09:07 2018 +0000 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="lgi" 1.7 +VERSION="0.7.2" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Dynamic Lua binding to GObject libraries using GObject-Introspection" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="MIT" 1.12 +WEB_SITE="https://github.com/pavouk/lgi" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WGET_URL="https://github.com/pavouk/lgi/archive/$VERSION.tar.gz" 1.15 + 1.16 +DEPENDS="glib gobject-introspection lua" 1.17 +BUILD_DEPENDS="gobject-introspection-dev lua-dev wget" 1.18 +# add "cairo-dev gtk+-dev" for `make check` 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + # fix paths 1.24 + sed -i 's|/usr/local|/usr|g;s|5.1|5.2|g;s|51|52|g' \ 1.25 + $src/lgi/Makefile $src/lgi/core.lua $src/lgi/core.c 1.26 + # `make check` after `make` produces error 1.27 + make && 1.28 + make PREFIX=/usr DESTDIR=$install install 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + cp -a $install/* $fs 1.35 +}