wok-next view hexchat/receipt @ rev 20575

More fix libtool; combine libdbusmenu-gtk*
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 14 01:31:03 2018 +0300 (2018-04-14)
parents d43bf7aae921
children 342b30daff76
line source
1 # SliTaz package receipt v2.
3 PACKAGE="hexchat"
4 VERSION="2.12.4"
5 CATEGORY="network"
6 SHORT_DESC="IRC client using GTK+"
7 MAINTAINER="lenios@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://hexchat.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://dl.hexchat.net/hexchat/$TARBALL"
14 BUILD_DEPENDS="automake autoconf-archive libtool intltool gtk+-dev perl-dev \
15 python-dev openssl-dev pciutils-dev dbus-glib-dev libnotify-dev \
16 libcanberra-dev iso-codes" # libproxy-dev
17 SPLIT="hexchat-plugin-perl hexchat-plugin-python hexchat hexchat-dev"
19 compile_rules() {
20 autoreconf -fi &&
21 sed -i '/_Keywords=/d; /Actions=/d' $src/data/misc/hexchat.desktop.in.in &&
22 ./configure \
23 --disable-lua \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 *-perl)
33 copy perl.so
34 DEPENDS="hexchat perl-core"
35 ;;
36 *-python)
37 copy python.so
38 DEPENDS="hexchat python"
39 ;;
40 hexchat)
41 copy @std @rm
42 rm -r $fs/usr/share/appdata/
43 DEPENDS="atk bzlib cairo dbus dbus-glib fontconfig freetype \
44 gdk-pixbuf glib gtk+ libcanberra openssl libffi libharfbuzz \
45 libltdl liblzma libnotify libogg libpng16 libvorbis libxml2 \
46 pango pciutils pcre util-linux-blkid util-linux-mount \
47 util-linux-uuid xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \
48 xorg-libXrender xorg-libxcb xorg-pixman zlib"
49 ;;
50 *-dev)
51 copy @dev
52 DEPENDS="hexchat hexchat-plugin-perl hexchat-plugin-python \
53 glib-dev libffi-dev openssl-dev pciutils-dev pcre-dev perl-core \
54 python util-linux-blkid-dev util-linux-mount-dev \
55 util-linux-uuid-dev zlib-dev"
56 ;;
57 esac
58 }