wok-next view hexchat/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 342b30daff76 |
children | d5aab818505e |
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 gtk2-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="glib perl-core hexchat"
35 ;;
36 *-python)
37 copy python.so
38 DEPENDS="glib python hexchat"
39 ;;
40 hexchat)
41 copy @std @rm
42 rm -r $fs/usr/share/appdata/
43 DEPENDS="dbus-glib gdk-pixbuf glib gtk2 libcanberra libnotify \
44 openssl pango pciutils"
45 ;;
46 *-dev)
47 copy @dev
48 ;;
49 esac
50 }