wok annotate libgnt/receipt @ rev 25526

created recipe for lua5.1-mpack 1.0.9
author Hans-G?nter Theisgen
date Sat Feb 25 07:18:33 2023 +0100 (20 months ago)
parents
children
rev   line source
pascal@25493 1 # SliTaz package receipt.
pascal@25493 2
pascal@25493 3 PACKAGE="libgnt"
pascal@25493 4 VERSION="2.14.3"
pascal@25493 5 CATEGORY="base-system"
pascal@25493 6 SHORT_DESC="The GLib Ncurses Toolkit"
pascal@25493 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@25493 8 LICENSE="GPL2"
pascal@25493 9 WEB_SITE="https://keep.imfreedom.org/libgnt/libgnt"
pascal@25493 10
pascal@25493 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@25493 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.bz2"
pascal@25493 13
pascal@25493 14 BUILD_DEPENDS="meson ninja gobject-introspection glib-dev libxml2-dev ncurses-dev"
pascal@25493 15 DEPENDS="libxml2 gobject-introspection glib ncurses"
pascal@25493 16
pascal@25493 17 # What is the latest version available today?
pascal@25493 18 current_version()
pascal@25493 19 {
pascal@25493 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@25493 21 sed '/">v[0-9]/!d;s|.*>v||;s|</.*||;q'
pascal@25493 22 }
pascal@25493 23
pascal@25493 24 # Rules to configure and make the package.
pascal@25493 25 compile_rules()
pascal@25493 26 {
pascal@25493 27 sed -i 's|value: true|value: false|' meson_options.txt
pascal@25493 28 meson build --prefix=/usr &&
pascal@25493 29 ninja -C build &&
pascal@25493 30 ninja -C build install
pascal@25493 31 }
pascal@25493 32
pascal@25493 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@25493 34 genpkg_rules()
pascal@25493 35 {
pascal@25493 36 mkdir -p $fs/usr/lib
pascal@25493 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@25493 38 cp -a $install/usr/lib/gnt $fs/usr/lib
pascal@25493 39 }