wok-next view libesmtp/receipt @ rev 20667
qemu/qemu-light: race condition, ppp/sane-backends: set group
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 11 09:27:12 2018 +0200 (2018-05-11) |
parents | e6615350078d |
children | 1ca369c9f448 |
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="GPL2"
9 WEB_SITE="http://www.stafford.uklinux.net/libesmtp/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libesmtp.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://www.stafford.uklinux.net/libesmtp/$TARBALL"
15 BUILD_DEPENDS="automake libtool openssl-dev"
16 SPLIT="libesmtp-dev"
17 COOKOPTS="skip-log-errors"
19 compile_rules() {
20 # fix a build issue with OpenSSL-1.1.0
21 sed 's@SSL_library_init@SSL_new@g' -i configure.ac
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 DEPENDS="libesmtp openssl-dev"
39 ;;
40 esac
41 }