wok-next view hexchat/receipt @ rev 20533

cairo-clock, grub4dos: fix CFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 27 12:50:45 2018 +0200 (2018-03-27)
parents e6615350078d
children 0ec6086e21d6
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 @rm
41 rm -r $fs/usr/share/appdata/
42 DEPENDS="atk bzlib cairo dbus dbus-glib fontconfig freetype \
43 gdk-pixbuf glib gtk+ libcanberra openssl libffi libharfbuzz \
44 libltdl liblzma libnotify libogg libpng16 libvorbis libxml2 \
45 pango pciutils pcre util-linux-blkid util-linux-mount \
46 util-linux-uuid xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \
47 xorg-libXrender xorg-libxcb xorg-pixman zlib"
48 ;;
49 *-dev)
50 copy @dev
51 DEPENDS="hexchat hexchat-plugin-perl hexchat-plugin-python \
52 glib-dev libffi-dev openssl-dev pciutils-dev pcre-dev perl-core \
53 python util-linux-blkid-dev util-linux-mount-dev \
54 util-linux-uuid-dev zlib-dev"
55 ;;
56 esac
57 }