wok-next rev 20654
ayttm: build with openssl10
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 04 12:59:35 2018 +0300 (2018-05-04) |
parents | 4afb940c15c1 |
children | 471441bc00c3 |
files | ayttm/receipt |
line diff
1.1 --- a/ayttm/receipt Fri May 04 11:41:20 2018 +0200 1.2 +++ b/ayttm/receipt Fri May 04 12:59:35 2018 +0300 1.3 @@ -3,7 +3,7 @@ 1.4 PACKAGE="ayttm" 1.5 VERSION="0.6.3" 1.6 CATEGORY="network" 1.7 -SHORT_DESC="Universal instant messenger client" 1.8 +SHORT_DESC="Universal instant messaging client" 1.9 MAINTAINER="devl547@gmail.com" 1.10 LICENSE="GPL2" 1.11 WEB_SITE="http://ayttm.sourceforge.net/" 1.12 @@ -11,26 +11,36 @@ 1.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.15 1.16 -BUILD_DEPENDS="gtk+-dev zlib-dev audiofile-dev xorg-xcb-util-dev openssl-dev \ 1.17 -flex enchant-dev xorg-libXpm-dev libtool" 1.18 +BUILD_DEPENDS="gtk+-dev zlib-dev audiofile-dev xorg-xcb-util-dev openssl10-dev \ 1.19 +flex enchant-dev xorg-libXpm-dev libtool gettext" 1.20 1.21 compile_rules() { 1.22 # remove -lfl 1.23 sed -i 's/LEXLIB=.*/LEXLIB=/' configure 1.24 1.25 + export CPPFLAGS="$CPPFLAGS -I/usr/include/openssl-1.0" 1.26 + export LDFLAGS="$LDFLAGS -L/usr/lib/openssl-1.0" 1.27 + 1.28 ./configure \ 1.29 --disable-webcam \ 1.30 --disable-esd \ 1.31 --disable-arts \ 1.32 --enable-lj \ 1.33 + --disable-static \ 1.34 $CONFIGURE_ARGS && 1.35 fix libtool && 1.36 make && 1.37 - make install 1.38 + make install || return 1 1.39 + 1.40 + mkdir -p $install/usr/share/applications/ 1.41 + cp $install/usr/share/applnk/Internet/ayttm.desktop \ 1.42 + $install/usr/share/applications/ 1.43 } 1.44 1.45 genpkg_rules() { 1.46 copy @std 1.47 - DEPENDS="gtk+ zlib audiofile xorg-xcb-util openssl enchant aspell \ 1.48 + rm -r $fs/usr/share/applnk/ $fs/usr/share/gnome/ 1.49 + DEPENDS="enchant gdk-pixbuf glib gtk+ libltdl openssl10 pango xorg-libX11 \ 1.50 xorg-libXpm" 1.51 + CONFIG_FILES="/etc/ayttmrc" 1.52 }