wok-next view libmanette/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libmanette"
4 VERSION="0.2.1"
5 CATEGORY="libs"
6 SHORT_DESC="Simple GObject game controller library"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://gitlab.gnome.org/aplazas/libmanette"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 COOKOPTS="force-arch" # different .gir
16 BUILD_DEPENDS="meson ninja glib-dev libgudev-dev libevdev-dev \
17 gobject-introspection-dev vala libxml2-tools"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 mkdir build
22 cd build
23 meson-wrapper &&
24 ninja &&
25 ninja install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 libmanette)
31 copy @std
32 DEPENDS="glib libevdev libgudev"
33 ;;
34 *-dev)
35 copy @dev
36 DEPENDS="libmanette glib-dev"
37 ;;
38 esac
39 }