wok-6.x view hexchat/receipt @ rev 25564

Add missing glibc 2.19 patchs
author Stanislas Leduc <shann@slitaz.org>
date Mon May 08 16:56:41 2023 +0200 (18 months ago)
parents af8d823a3077
children
line source
1 # SliTaz package receipt.
3 PACKAGE="hexchat"
4 VERSION="2.16.1"
5 CATEGORY="network"
6 SHORT_DESC="IRC client using GTK+."
7 MAINTAINER="lenios@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://hexchat.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://dl.hexchat.net/$PACKAGE/$TARBALL"
14 SUGGESTED="hexchat-lang"
15 DEPENDS="dbus-glib gettext-base gtk+ harfbuzz libcanberra libxml2
16 openssl xorg-libXdamage"
17 BUILD_DEPENDS="gtk+-dev libcanberra-dev libxml2-dev meson openssl-dev
18 shared-mime-info"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
24 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 # 2.16.1
31 # meson unknown options from configure:
32 # --disable-tcl
33 # --enable-spell=static
34 # --enable-ipv6
36 export CFLAGS="$CFLAGS -Wno-error=implicit-function-declaration"
38 meson _build \
39 --prefix=/usr \
40 --infodir=/usr/share/info \
41 --mandir=/usr/share/man \
42 -D dbus=disabled \
43 -D libcanberra=enabled \
44 -D with-lua=false \
45 -D plugin=false \
46 -D with-python=false &&
47 ninja -C _build &&
48 ninja -C _build install
49 }
51 # Rules to gen a SliTaz package suitable for Tazpkg.
52 genpkg_rules()
53 {
54 # cp -a $install/usr/share/dbus-1 $fs/usr/share
55 cook_copy_folders bin
56 }