wok-next view hexchat/receipt @ rev 20200
libgnomeprint: add bison 3 patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 17:38:15 2017 +0100 (2017-11-03) |
parents | e2a4e6383f52 |
children | e6615350078d |
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 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 *-perl)
32 copy perl.so
33 DEPENDS="hexchat perl-core"
34 ;;
35 *-python)
36 copy python.so
37 DEPENDS="hexchat python"
38 ;;
39 hexchat)
40 copy @std
41 remove_already_packed
42 rm -r $fs/usr/share/appdata/
43 DEPENDS="atk bzlib cairo dbus dbus-glib fontconfig freetype \
44 gdk-pixbuf glib gtk+ libcanberra libcrypto libffi libharfbuzz \
45 libltdl liblzma libnotify libogg libpng16 libssl 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 }