wok-next view libesmtp/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents 0ec6086e21d6
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libesmtp"
4 VERSION="1.0.6"
5 CATEGORY="network"
6 SHORT_DESC="A library for posting electronic mail"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL3"
9 WEB_SITE="http://brianstafford.info/libesmtp/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libesmtp.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://brianstafford.info/libesmtp/$TARBALL"
15 BUILD_DEPENDS="automake libtool openssl-dev"
16 SPLIT="libesmtp-dev"
18 compile_rules() {
19 # fix a build issue with OpenSSL-1.1.0
20 sed -i 's@SSL_library_init@SSL_new@g' configure.ac
21 mkdir m4
22 autoreconf -fi &&
24 ./configure $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 libesmtp)
33 copy @std
34 DEPENDS="openssl"
35 ;;
36 *-dev)
37 copy @dev
38 ;;
39 esac
40 }