wok annotate lgi/receipt @ rev 20926
updated fltk, fltk-blocks, fltk-checkers, fltk-colbrowser, fltk-dev, fltk-editor, and fltk-sudoku (1.3.3 -> 1.3.4.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 02 13:00:42 2019 +0100 (2019-03-02) |
parents | |
children | d915ef6e3b53 |
rev | line source |
---|---|
al@16697 | 1 # SliTaz package receipt. |
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@16697 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@16697 | 11 WGET_URL="https://github.com/pavouk/lgi/archive/$VERSION.tar.gz" |
al@16697 | 12 |
al@16697 | 13 DEPENDS="glib gobject-introspection lua" |
al@16697 | 14 BUILD_DEPENDS="gobject-introspection-dev lua-dev wget" |
al@16697 | 15 # add "cairo-dev gtk+-dev" for `make check` |
al@16697 | 16 |
al@16697 | 17 # Rules to configure and make the package. |
al@16697 | 18 compile_rules() |
al@16697 | 19 { |
al@16697 | 20 # fix paths |
al@16697 | 21 sed -i 's|/usr/local|/usr|g;s|5.1|5.2|g;s|51|52|g' \ |
al@16697 | 22 $src/lgi/Makefile $src/lgi/core.lua $src/lgi/core.c |
al@16697 | 23 # `make check` after `make` produces error |
al@16697 | 24 make && |
al@16697 | 25 make PREFIX=/usr DESTDIR=$install install |
al@16697 | 26 } |
al@16697 | 27 |
al@16697 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16697 | 29 genpkg_rules() |
al@16697 | 30 { |
al@16697 | 31 cp -a $install/* $fs |
al@16697 | 32 } |