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