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

sokojs: add shrink.sh (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 26 18:46:53 2022 +0000 (2022-02-26)
parents a78610b2eb47
children 4795431532c1
line source
1 # SliTaz package receipt.
3 PACKAGE="hexchat"
4 VERSION="2.10.2"
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/"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="http://dl.hexchat.net/hexchat/$TARBALL"
13 DEPENDS="gtk+ openssl gettext-base dbus-glib xorg-libXdamage \
14 harfbuzz"
15 BUILD_DEPENDS="gtk+-dev openssl-dev shared-mime-info"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 --disable-plugin \
32 --disable-tcl \
33 --disable-dbus \
34 --disable-python \
35 --enable-spell=static \
36 --enable-ipv6 \
37 $CONFIGURE_ARGS &&
38 make &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr
46 cp -a $install/usr/bin $fs/usr
47 # cp -a $install/usr/share/dbus-1 $fs/usr/share
48 }