wok-next annotate hexchat/receipt @ rev 19903

lynx: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 12 18:00:53 2017 +0200 (2017-10-12)
parents e2a4e6383f52
children e6615350078d
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@16885 25 make &&
al@19874 26 make install
devl547@16176 27 }
devl547@16176 28
al@19874 29 genpkg_rules() {
al@19874 30 case $PACKAGE in
al@19874 31 *-perl)
al@19874 32 copy perl.so
al@19874 33 DEPENDS="hexchat perl-core"
al@19874 34 ;;
al@19874 35 *-python)
al@19874 36 copy python.so
al@19874 37 DEPENDS="hexchat python"
al@19874 38 ;;
al@19874 39 hexchat)
al@19874 40 copy @std
al@19874 41 remove_already_packed
al@19874 42 rm -r $fs/usr/share/appdata/
al@19874 43 DEPENDS="atk bzlib cairo dbus dbus-glib fontconfig freetype \
al@19874 44 gdk-pixbuf glib gtk+ libcanberra libcrypto libffi libharfbuzz \
al@19874 45 libltdl liblzma libnotify libogg libpng16 libssl 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 }