wok-next annotate lgi/receipt @ rev 20775
quodlibet: remove non-existent package from bdeps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 20:44:57 2018 +0300 (2018-06-06) |
parents | d43bf7aae921 |
children | 624ffd1bb925 |
rev | line source |
---|---|
al@20519 | 1 # SliTaz package receipt v2. |
al@16697 | 2 |
al@16697 | 3 PACKAGE="lgi" |
al@16697 | 4 VERSION="0.7.2" |
al@16697 | 5 CATEGORY="development" |
al@16697 | 6 SHORT_DESC="Dynamic Lua binding to GObject libraries using GObject-Introspection" |
al@16697 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16697 | 8 LICENSE="MIT" |
al@16697 | 9 WEB_SITE="https://github.com/pavouk/lgi" |
al@20519 | 10 |
al@16697 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@16697 | 12 WGET_URL="https://github.com/pavouk/lgi/archive/$VERSION.tar.gz" |
al@16697 | 13 |
al@20513 | 14 BUILD_DEPENDS="gobject-introspection-dev lua-dev" |
al@16697 | 15 # add "cairo-dev gtk+-dev" for `make check` |
al@16697 | 16 |
al@20519 | 17 compile_rules() { |
al@16697 | 18 # fix paths |
al@20519 | 19 sed -i 's|/usr/local|/usr|g;s|5.1|5.3|g;s|51|53|g' \ |
al@16697 | 20 $src/lgi/Makefile $src/lgi/core.lua $src/lgi/core.c |
al@16697 | 21 # `make check` after `make` produces error |
al@16697 | 22 make && |
al@16697 | 23 make PREFIX=/usr DESTDIR=$install install |
al@16697 | 24 } |
al@16697 | 25 |
al@20519 | 26 genpkg_rules() { |
al@16697 | 27 cp -a $install/* $fs |
al@20519 | 28 DEPENDS="glib gobject-introspection lua" |
al@16697 | 29 } |