wok-current view hexchat-plugin/receipt @ rev 16274
Up: git (1.9.1)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Apr 05 21:34:07 2014 +0000 (2014-04-05) |
parents | |
children | e4fd343fd7b8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="hexchat-plugin"
4 VERSION="2.9.6.1"
5 CATEGORY="network"
6 SHORT_DESC="IRC client using GTK+ with plugins support"
7 MAINTAINER="lenios@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="hexchat"
10 TARBALL="$SOURCE-$VERSION.tar.xz"
11 WEB_SITE="http://hexchat.github.io/"
12 WGET_URL="http://dl.hexchat.net/hexchat/$TARBALL"
13 PROVIDE="hexchat"
15 DEPENDS="gtk+ dbus openssl gettext dbus-glib xorg-libXdamage python"
16 BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info python-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
23 -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|'
24 sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
25 sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
26 ./configure --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 --disable-tcl \
30 --enable-spell=static \
31 --enable-ipv6 \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr \
41 $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 # cp -a $install/usr/share/dbus-1 $fs/usr/share
44 }