wok-next annotate ayttm/receipt @ rev 21087

Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 28 05:11:49 2018 +0200 (2018-12-28)
parents d5aab818505e
children
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@21078 14 BUILD_DEPENDS="gtk2-dev zlib-dev audiofile-dev xcb-util-dev openssl10-dev \
al@21078 15 flex enchant-dev libxpm-dev libtool gettext-dev"
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@21078 43 DEPENDS="enchant gdk-pixbuf glib gtk2 libltdl openssl10 pango libx11 \
al@21078 44 libxpm"
al@20654 45 CONFIG_FILES="/etc/ayttmrc"
pascal@11217 46 }