wok view lgi/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents 1d98908f8e3b
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="lgi"
4 VERSION="0.9.2"
5 CATEGORY="development"
6 SHORT_DESC="Dynamic Lua binding to GObject libraries using GObject-Introspection."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/pavouk/lgi"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/pavouk/lgi/archive/$VERSION.tar.gz"
14 DEPENDS="glib gobject-introspection lua"
15 BUILD_DEPENDS="gobject-introspection-dev lua-dev"
16 # add "cairo-dev gtk+-dev" for `make check`
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # fix paths
22 sed -i 's|/usr/local|/usr|g;s|5.1|5.2|g;s|51|52|g' \
23 $src/lgi/Makefile $src/lgi/core.lua $src/lgi/core.c
25 # `make check` after `make` produces error
26 make -j 1 &&
27 make PREFIX=/usr DESTDIR=$install install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 }