wok-current view libhandy/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libhandy"
4 VERSION="1.6.4"
5 CATEGORY="libs"
6 SHORT_DESC="Library with GTK widgets for mobile phones"
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://gitlab.gnome.org/GNOME/libhandy"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="gtk+3-dev gobject-introspection-dev \
15 vala meson"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 meson _build \
21 --prefix=/usr \
22 --libdir=lib \
23 --bindir=/usr/bin \
24 --sbindir=/usr/sbin \
25 --buildtype=release \
26 -Dtests=false \
27 -Dexamples=false
29 ninja -C _build build
30 DESTDIR=$install ninja -C _build install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }