wok-next view amsn/receipt @ rev 20718

paulstretch: fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 15:09:21 2018 +0300 (2018-05-27)
parents 757d032c55c7
children 86b5d202495a
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="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://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=$DESTDIR install || return 1
29 for ext in png xml css; do
30 find $install -type f -name '*.'$ext -exec chmod a-x \{\} \;
31 done
32 find $install -iname 'thumbs.db' -delete
33 }
35 genpkg_rules() {
36 copy @std
37 DEPENDS="libjpeg-turbo libpng16 python xorg-libX11 tk glib tls v4l-utils"
38 # /usr/share/amsn/plugins/amsnplus/snapshot depends on libImlib.so.11 - absent
39 TAGS="chat messenger im"
40 }