wok-6.x annotate hexchat-plugin/receipt @ rev 16537
wine: update bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 28 13:55:14 2014 +0000 (2014-04-28) |
parents | |
children | e4fd343fd7b8 |
rev | line source |
---|---|
devl547@16176 | 1 # SliTaz package receipt. |
devl547@16176 | 2 |
devl547@16176 | 3 PACKAGE="hexchat-plugin" |
devl547@16176 | 4 VERSION="2.9.6.1" |
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" |
devl547@16176 | 9 SOURCE="hexchat" |
devl547@16176 | 10 TARBALL="$SOURCE-$VERSION.tar.xz" |
devl547@16176 | 11 WEB_SITE="http://hexchat.github.io/" |
devl547@16176 | 12 WGET_URL="http://dl.hexchat.net/hexchat/$TARBALL" |
devl547@16176 | 13 PROVIDE="hexchat" |
devl547@16176 | 14 |
devl547@16176 | 15 DEPENDS="gtk+ dbus openssl gettext 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 { |
devl547@16176 | 21 cd $src |
devl547@16176 | 22 sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \ |
devl547@16176 | 23 -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' |
devl547@16176 | 24 sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c |
devl547@16176 | 25 sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c |
devl547@16176 | 26 ./configure --prefix=/usr \ |
devl547@16176 | 27 --infodir=/usr/share/info \ |
devl547@16176 | 28 --mandir=/usr/share/man \ |
devl547@16176 | 29 --disable-tcl \ |
devl547@16176 | 30 --enable-spell=static \ |
devl547@16176 | 31 --enable-ipv6 \ |
devl547@16176 | 32 $CONFIGURE_ARGS && |
devl547@16176 | 33 make && |
devl547@16176 | 34 make DESTDIR=$DESTDIR install |
devl547@16176 | 35 } |
devl547@16176 | 36 |
devl547@16176 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@16176 | 38 genpkg_rules() |
devl547@16176 | 39 { |
devl547@16176 | 40 mkdir -p $fs/usr \ |
devl547@16176 | 41 $fs/usr/share |
devl547@16176 | 42 cp -a $install/usr/bin $fs/usr |
devl547@16176 | 43 # cp -a $install/usr/share/dbus-1 $fs/usr/share |
devl547@16176 | 44 } |