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