wok-next view xchat-plugin/receipt @ rev 20274
remove samba-pam (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 10:13:28 2017 +0100 (2017-11-08) |
parents | e4fd343fd7b8 |
children | 10df65db91ad |
line source
1 # SliTaz package receipt.
3 PACKAGE="xchat-plugin"
4 VERSION="2.8.8"
5 CATEGORY="network"
6 SHORT_DESC="IRC client using GTK+ with plugins support"
7 MAINTAINER="lenios@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.xchat.org/"
10 SOURCE="xchat"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WGET_URL="http://www.xchat.org/files/source/${VERSION%.*}/$TARBALL"
13 PROVIDE="xchat"
15 DEPENDS="gtk+ dbus openssl gettext-base dbus-glib xorg-libXdamage"
16 BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info \
17 gettext-tools perl-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
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 -e 's|glib/gutils.h|glib.h|' src/common/xchat.h
25 sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
26 sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 --disable-tcl \
33 --enable-spell=static \
34 --enable-ipv6 \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr
44 cp -a $install/usr/bin $fs/usr
45 # cp -a $install/usr/share/dbus-1 $fs/usr/share
46 }