wok diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libgnt/receipt Wed Oct 23 16:19:52 2024 +0100 1.3 @@ -0,0 +1,39 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libgnt" 1.7 +VERSION="2.14.3" 1.8 +CATEGORY="base-system" 1.9 +SHORT_DESC="The GLib Ncurses Toolkit" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="https://keep.imfreedom.org/libgnt/libgnt" 1.13 + 1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.bz2" 1.16 + 1.17 +BUILD_DEPENDS="meson ninja gobject-introspection glib-dev libxml2-dev ncurses-dev" 1.18 +DEPENDS="libxml2 gobject-introspection glib ncurses" 1.19 + 1.20 +# What is the latest version available today? 1.21 +current_version() 1.22 +{ 1.23 + wget -O - $WEB_SITE 2>/dev/null | \ 1.24 + sed '/">v[0-9]/!d;s|.*>v||;s|</.*||;q' 1.25 +} 1.26 + 1.27 +# Rules to configure and make the package. 1.28 +compile_rules() 1.29 +{ 1.30 + sed -i 's|value: true|value: false|' meson_options.txt 1.31 + meson build --prefix=/usr && 1.32 + ninja -C build && 1.33 + ninja -C build install 1.34 +} 1.35 + 1.36 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 +genpkg_rules() 1.38 +{ 1.39 + mkdir -p $fs/usr/lib 1.40 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.41 + cp -a $install/usr/lib/gnt $fs/usr/lib 1.42 +}