wok-next view libesmtp/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children |
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="devel@slitaz.org"
8 LICENSE="LGPL3"
9 WEB_SITE="http://brianstafford.info/libesmtp/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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="$PACKAGE-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 }