wok view libgnt/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (7 weeks ago) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libgnt"
4 VERSION="2.14.3"
5 CATEGORY="base-system"
6 SHORT_DESC="The GLib Ncurses Toolkit"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://keep.imfreedom.org/libgnt/libgnt"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.bz2"
14 BUILD_DEPENDS="meson ninja gobject-introspection glib-dev libxml2-dev ncurses-dev"
15 DEPENDS="libxml2 gobject-introspection glib ncurses"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/">v[0-9]/!d;s|.*>v||;s|</.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|value: true|value: false|' meson_options.txt
28 meson build --prefix=/usr &&
29 ninja -C build &&
30 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 cp -a $install/usr/lib/gnt $fs/usr/lib
39 }