wok-next diff 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 |
line diff
1.1 --- a/hexchat/receipt Sun Feb 08 12:33:37 2015 +0000 1.2 +++ b/hexchat/receipt Thu Oct 12 18:00:53 2017 +0200 1.3 @@ -1,41 +1,58 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="hexchat" 1.8 -VERSION="2.10.2" 1.9 +VERSION="2.12.4" 1.10 CATEGORY="network" 1.11 SHORT_DESC="IRC client using GTK+" 1.12 MAINTAINER="lenios@slitaz.org" 1.13 LICENSE="GPL2" 1.14 -WEB_SITE="http://hexchat.github.io/" 1.15 +WEB_SITE="https://hexchat.github.io/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.18 -WGET_URL="http://dl.hexchat.net/hexchat/$TARBALL" 1.19 +WGET_URL="https://dl.hexchat.net/hexchat/$TARBALL" 1.20 1.21 -DEPENDS="gtk+ openssl gettext-base dbus-glib xorg-libXdamage \ 1.22 -harfbuzz" 1.23 -BUILD_DEPENDS="gtk+-dev openssl-dev shared-mime-info" 1.24 +BUILD_DEPENDS="automake autoconf-archive libtool intltool gtk+-dev perl-dev \ 1.25 +python-dev openssl-dev pciutils-dev dbus-glib-dev libnotify-dev \ 1.26 +libcanberra-dev iso-codes" # libproxy-dev 1.27 +SPLIT="hexchat-plugin-perl hexchat-plugin-python hexchat hexchat-dev" 1.28 1.29 -# Rules to configure and make the package. 1.30 -compile_rules() 1.31 -{ 1.32 +compile_rules() { 1.33 + autoreconf -fi && 1.34 + sed -i '/_Keywords=/d; /Actions=/d' $src/data/misc/hexchat.desktop.in.in && 1.35 ./configure \ 1.36 - --prefix=/usr \ 1.37 - --infodir=/usr/share/info \ 1.38 - --mandir=/usr/share/man \ 1.39 - --disable-plugin \ 1.40 - --disable-tcl \ 1.41 - --disable-dbus \ 1.42 - --disable-python \ 1.43 - --enable-spell=static \ 1.44 - --enable-ipv6 \ 1.45 + --disable-lua \ 1.46 $CONFIGURE_ARGS && 1.47 make && 1.48 - make DESTDIR=$DESTDIR install 1.49 + make install 1.50 } 1.51 1.52 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.53 -genpkg_rules() 1.54 -{ 1.55 - mkdir -p $fs/usr 1.56 - cp -a $install/usr/bin $fs/usr 1.57 - # cp -a $install/usr/share/dbus-1 $fs/usr/share 1.58 +genpkg_rules() { 1.59 + case $PACKAGE in 1.60 + *-perl) 1.61 + copy perl.so 1.62 + DEPENDS="hexchat perl-core" 1.63 + ;; 1.64 + *-python) 1.65 + copy python.so 1.66 + DEPENDS="hexchat python" 1.67 + ;; 1.68 + hexchat) 1.69 + copy @std 1.70 + remove_already_packed 1.71 + rm -r $fs/usr/share/appdata/ 1.72 + DEPENDS="atk bzlib cairo dbus dbus-glib fontconfig freetype \ 1.73 + gdk-pixbuf glib gtk+ libcanberra libcrypto libffi libharfbuzz \ 1.74 + libltdl liblzma libnotify libogg libpng16 libssl libvorbis libxml2 \ 1.75 + pango pciutils pcre util-linux-blkid util-linux-mount \ 1.76 + util-linux-uuid xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \ 1.77 + xorg-libXrender xorg-libxcb xorg-pixman zlib" 1.78 + ;; 1.79 + *-dev) 1.80 + copy @dev 1.81 + DEPENDS="hexchat hexchat-plugin-perl hexchat-plugin-python \ 1.82 + glib-dev libffi-dev openssl-dev pciutils-dev pcre-dev perl-core \ 1.83 + python util-linux-blkid-dev util-linux-mount-dev \ 1.84 + util-linux-uuid-dev zlib-dev" 1.85 + ;; 1.86 + esac 1.87 }