wok-next annotate ayttm/receipt @ rev 20839

p11-kit: upgrade 0.23.8 (2017 Aug) -> 0.23.12
author Erkan Yilmaz <erkan@slitaz.org>
date Wed Jun 20 07:32:40 2018 +0000 (2018-06-20)
parents 835b3b8ce6ac
children f48456621a9d
rev   line source
al@20569 1 # SliTaz package receipt v2.
pascal@11217 2
pascal@11217 3 PACKAGE="ayttm"
pascal@11217 4 VERSION="0.6.3"
pascal@11217 5 CATEGORY="network"
al@20654 6 SHORT_DESC="Universal instant messaging client"
pascal@11217 7 MAINTAINER="devl547@gmail.com"
pascal@15002 8 LICENSE="GPL2"
al@20569 9 WEB_SITE="http://ayttm.sourceforge.net/"
al@20569 10
pascal@11217 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19275 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15002 13
al@20654 14 BUILD_DEPENDS="gtk+-dev zlib-dev audiofile-dev xorg-xcb-util-dev openssl10-dev \
al@20654 15 flex enchant-dev xorg-libXpm-dev libtool gettext"
pascal@11217 16
al@20569 17 compile_rules() {
pascal@17782 18 # remove -lfl
pascal@17782 19 sed -i 's/LEXLIB=.*/LEXLIB=/' configure
al@19275 20
al@20654 21 export CPPFLAGS="$CPPFLAGS -I/usr/include/openssl-1.0"
al@20654 22 export LDFLAGS="$LDFLAGS -L/usr/lib/openssl-1.0"
al@20654 23
al@19275 24 ./configure \
al@19275 25 --disable-webcam \
al@19275 26 --disable-esd \
al@19275 27 --disable-arts \
al@19275 28 --enable-lj \
al@20654 29 --disable-static \
al@19275 30 $CONFIGURE_ARGS &&
al@20569 31 fix libtool &&
al@20569 32 make &&
al@20654 33 make install || return 1
al@20654 34
al@20654 35 mkdir -p $install/usr/share/applications/
al@20654 36 cp $install/usr/share/applnk/Internet/ayttm.desktop \
al@20654 37 $install/usr/share/applications/
pascal@11217 38 }
pascal@11217 39
al@20569 40 genpkg_rules() {
al@20569 41 copy @std
al@20654 42 rm -r $fs/usr/share/applnk/ $fs/usr/share/gnome/
al@20654 43 DEPENDS="enchant gdk-pixbuf glib gtk+ libltdl openssl10 pango xorg-libX11 \
al@20569 44 xorg-libXpm"
al@20654 45 CONFIG_FILES="/etc/ayttmrc"
pascal@11217 46 }