wok-next view xchat/receipt @ rev 20604

More fix libtool.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 19 13:15:41 2018 +0300 (2018-04-19)
parents 831b04c8239e
children 1f8d622f0165
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://www.xchat.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://www.xchat.org/files/source/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="gtk+-dev dbus-dev openssl-dev shared-mime-info \
15 gettext-tools perl-dev"
17 compile_rules() {
18 sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
19 -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \
20 -e 's|glib/gutils.h|glib.h|' src/common/xchat.h
21 sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
22 sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
24 ./configure \
25 --disable-plugin \
26 --disable-tcl \
27 --enable-spell=static \
28 --enable-ipv6 \
29 $CONFIGURE_ARGS &&
30 fix libtool &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 genpkg_rules() {
36 copy @std
37 DEPENDS="gtk+ dbus openssl gettext-base dbus-glib xorg-libXdamage"
38 }