wok-next view amsn/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 86b5d202495a
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
3 PACKAGE="amsn"
4 VERSION="0.98.9"
5 CATEGORY="network"
6 SHORT_DESC="Alvaro's Messenger"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.amsn-project.net/"
11 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="tls glib-dev tcl-dev tk-dev libjpeg-turbo-dev xorg-libICE-dev \
15 xorg-libSM-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev \
16 xorg-libXScrnSaver-dev zlib-dev libpng16-dev v4l-utils-dev autoconf automake"
17 # for audio conversations: gst0-plugins-base-dev;
18 # also need absent farstream-0.1 and farsight2-0.10 >= 0.0.9
19 COOKOPTS="!pngz" # some png are really gif, and many problems with palette
21 compile_rules() {
22 ./configure \
23 --prefix=/usr \
24 --with-tcl=/usr/lib \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$install install || return 1
29 fix symlinks
31 for ext in png xml css; do
32 find $install -type f -name '*.'$ext -exec chmod a-x \{\} \;
33 done
34 find $install -iname 'thumbs.db' -delete
35 }
37 genpkg_rules() {
38 copy @std
39 DEPENDS="libjpeg-turbo libpng16 python xorg-libX11 tk glib tls v4l-utils"
40 # /usr/share/amsn/plugins/amsnplus/snapshot depends on libImlib.so.11 - absent
41 TAGS="chat messenger im"
42 }