wok-current diff lgi/receipt @ rev 17094
mencoder
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Aug 28 03:47:22 2014 +0200 (2014-08-28) |
parents | |
children | d915ef6e3b53 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lgi/receipt Thu Aug 28 03:47:22 2014 +0200 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 +}