wok-next annotate 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
rev   line source
al@20406 1 # SliTaz package receipt v2.
erjo@11417 2
erjo@11417 3 PACKAGE="libesmtp"
erjo@11417 4 VERSION="1.0.6"
erjo@11417 5 CATEGORY="network"
al@20679 6 SHORT_DESC="A library for posting electronic mail"
al@21020 7 MAINTAINER="devel@slitaz.org"
al@20679 8 LICENSE="LGPL3"
al@20679 9 WEB_SITE="http://brianstafford.info/libesmtp/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libesmtp.html"
al@20406 11
erjo@11417 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@20679 13 WGET_URL="http://brianstafford.info/libesmtp/$TARBALL"
erjo@11417 14
al@20406 15 BUILD_DEPENDS="automake libtool openssl-dev"
al@21020 16 SPLIT="$PACKAGE-dev"
erjo@11417 17
al@20406 18 compile_rules() {
al@20406 19 # fix a build issue with OpenSSL-1.1.0
al@20679 20 sed -i 's@SSL_library_init@SSL_new@g' configure.ac
al@20679 21 mkdir m4
al@20406 22 autoreconf -fi &&
al@20406 23
al@20406 24 ./configure $CONFIGURE_ARGS &&
al@20575 25 fix libtool &&
al@20575 26 make &&
al@20575 27 make install
erjo@11417 28 }
erjo@11417 29
al@20406 30 genpkg_rules() {
al@20406 31 case $PACKAGE in
al@20406 32 libesmtp)
al@20406 33 copy @std
al@20453 34 DEPENDS="openssl"
al@20406 35 ;;
al@20406 36 *-dev)
al@20406 37 copy @dev
al@20406 38 ;;
al@20406 39 esac
erjo@11417 40 }