wok-6.x annotate hexchat-plugin/receipt @ rev 17690
xrdp: add --localstatedir=/var
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 22 18:41:02 2015 +0100 (2015-02-22) |
parents | e4fd343fd7b8 |
children | a78610b2eb47 |
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" |
al@16885 | 9 WEB_SITE="http://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 |
devl547@16176 | 18 # Rules to configure and make the package. |
devl547@16176 | 19 compile_rules() |
devl547@16176 | 20 { |
al@16885 | 21 sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \ |
al@16885 | 22 -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' |
al@16885 | 23 sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c |
al@16885 | 24 sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c |
al@16885 | 25 |
al@16885 | 26 ./configure \ |
al@16885 | 27 --prefix=/usr \ |
al@16885 | 28 --infodir=/usr/share/info \ |
al@16885 | 29 --mandir=/usr/share/man \ |
al@16885 | 30 --disable-tcl \ |
al@16885 | 31 --enable-spell=static \ |
al@16885 | 32 --enable-ipv6 \ |
al@16885 | 33 $CONFIGURE_ARGS && |
al@16885 | 34 make && |
al@16885 | 35 make DESTDIR=$DESTDIR install |
devl547@16176 | 36 } |
devl547@16176 | 37 |
devl547@16176 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@16176 | 39 genpkg_rules() |
devl547@16176 | 40 { |
al@16885 | 41 mkdir -p $fs/usr |
al@16885 | 42 cp -a $install/usr/bin $fs/usr |
al@16885 | 43 # cp -a $install/usr/share/dbus-1 $fs/usr/share |
devl547@16176 | 44 } |