wok annotate hexchat/receipt @ rev 24621

updated graphicsmagick (1.3.34 -> 1.3.37)
author Hans-G?nter Theisgen
date Mon Mar 07 11:14:15 2022 +0100 (2022-03-07)
parents a78610b2eb47
children 4795431532c1
rev   line source
devl547@16176 1 # SliTaz package receipt.
devl547@16176 2
devl547@16176 3 PACKAGE="hexchat"
erkan@20080 4 VERSION="2.10.2"
devl547@16176 5 CATEGORY="network"
devl547@16176 6 SHORT_DESC="IRC client using GTK+"
devl547@16176 7 MAINTAINER="lenios@slitaz.org"
devl547@16176 8 LICENSE="GPL2"
pascal@20669 9 WEB_SITE="https://hexchat.github.io/"
devl547@16176 10 TARBALL="$PACKAGE-$VERSION.tar.xz"
devl547@16176 11 WGET_URL="http://dl.hexchat.net/hexchat/$TARBALL"
devl547@16176 12
devl547@17579 13 DEPENDS="gtk+ openssl gettext-base dbus-glib xorg-libXdamage \
pascal@17556 14 harfbuzz"
devl547@17579 15 BUILD_DEPENDS="gtk+-dev openssl-dev shared-mime-info"
devl547@16176 16
pascal@24445 17 # What is the latest version available today?
pascal@24445 18 current_version()
pascal@24445 19 {
pascal@24445 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24445 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24445 22 }
pascal@24445 23
devl547@16176 24 # Rules to configure and make the package.
devl547@16176 25 compile_rules()
devl547@16176 26 {
al@16885 27 ./configure \
al@16885 28 --prefix=/usr \
al@16885 29 --infodir=/usr/share/info \
al@16885 30 --mandir=/usr/share/man \
al@16885 31 --disable-plugin \
al@16885 32 --disable-tcl \
devl547@17579 33 --disable-dbus \
devl547@17579 34 --disable-python \
al@16885 35 --enable-spell=static \
al@16885 36 --enable-ipv6 \
al@16885 37 $CONFIGURE_ARGS &&
al@16885 38 make &&
al@16885 39 make DESTDIR=$DESTDIR install
devl547@16176 40 }
devl547@16176 41
devl547@16176 42 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@16176 43 genpkg_rules()
devl547@16176 44 {
al@16885 45 mkdir -p $fs/usr
al@16885 46 cp -a $install/usr/bin $fs/usr
al@16885 47 # cp -a $install/usr/share/dbus-1 $fs/usr/share
devl547@16176 48 }