wok annotate lgi/receipt @ rev 22570

modified recipe for bluez-alsa
author Hans-G?nter Theisgen
date Mon Jan 06 08:00:18 2020 +0100 (2020-01-06)
parents 1d98908f8e3b
children 5ea0ce1cecc0
rev   line source
al@16697 1 # SliTaz package receipt.
al@16697 2
al@16697 3 PACKAGE="lgi"
Hans-G?nter@21108 4 VERSION="0.9.2"
al@16697 5 CATEGORY="development"
Hans-G?nter@21108 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"
Hans-G?nter@21108 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@16697 14 DEPENDS="glib gobject-introspection lua"
Hans-G?nter@21108 15 BUILD_DEPENDS="gobject-introspection-dev lua-dev"
al@16697 16 # add "cairo-dev gtk+-dev" for `make check`
al@16697 17
al@16697 18 # Rules to configure and make the package.
al@16697 19 compile_rules()
al@16697 20 {
al@16697 21 # fix paths
al@16697 22 sed -i 's|/usr/local|/usr|g;s|5.1|5.2|g;s|51|52|g' \
al@16697 23 $src/lgi/Makefile $src/lgi/core.lua $src/lgi/core.c
Hans-G?nter@21108 24
al@16697 25 # `make check` after `make` produces error
Hans-G?nter@21108 26 make -j 1 &&
al@16697 27 make PREFIX=/usr DESTDIR=$install install
al@16697 28 }
al@16697 29
al@16697 30 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16697 31 genpkg_rules()
al@16697 32 {
al@16697 33 cp -a $install/* $fs
al@16697 34 }