wok-6.x view xchat/receipt @ rev 16459

ARM: Mplayer need a gmplayer sym link and so we have a gui video player for arm :-)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 20 16:57:15 2014 +0200 (2014-04-20)
parents 8b52371a81af
children e4fd343fd7b8
line source
1 # SliTaz package receipt.
3 PACKAGE="xchat"
4 VERSION="2.8.8"
5 CATEGORY="network"
6 SHORT_DESC="IRC client using GTK+"
7 MAINTAINER="lenios@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.xchat.org/"
11 WGET_URL="http://www.xchat.org/files/source/2.8/$TARBALL"
13 DEPENDS="gtk+ dbus openssl gettext dbus-glib xorg-libXdamage"
14 BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
21 -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \
22 -e 's|glib/gutils.h|glib.h|' src/common/xchat.h
23 sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
24 sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
25 ./configure --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 --disable-plugin \
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 }