wok-next view libesmtp/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
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 }