wok-6.x view hexchat-plugin/receipt @ rev 24477
updated dialog and dialog-dev (1.3_20210324 -> 1.3_20220117)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 10:50:23 2022 +0100 (2022-02-18) |
parents | a78610b2eb47 |
children | 4795431532c1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="hexchat-plugin"
4 VERSION="2.10.2"
5 CATEGORY="network"
6 SHORT_DESC="IRC client using GTK+ with plugins support"
7 MAINTAINER="lenios@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://hexchat.github.io/"
10 SOURCE="hexchat"
11 TARBALL="$SOURCE-$VERSION.tar.xz"
12 WGET_URL="http://dl.hexchat.net/hexchat/$TARBALL"
13 PROVIDE="hexchat"
15 DEPENDS="gtk+ dbus openssl gettext-base dbus-glib xorg-libXdamage python"
16 BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info python-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
29 -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|'
30 sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
31 sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
33 ./configure \
34 --prefix=/usr \
35 --infodir=/usr/share/info \
36 --mandir=/usr/share/man \
37 --disable-tcl \
38 --enable-spell=static \
39 --enable-ipv6 \
40 $CONFIGURE_ARGS &&
41 make &&
42 make DESTDIR=$DESTDIR install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr
49 cp -a $install/usr/bin $fs/usr
50 # cp -a $install/usr/share/dbus-1 $fs/usr/share
51 }