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