wok-next annotate libesmtp/receipt @ rev 20663

Fix web site for the Shimmer Project themes
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 10 22:58:32 2018 +0300 (2018-05-10)
parents e6615350078d
children 1ca369c9f448
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@20406 6 SHORT_DESC="A Library for posting electronic mail"
slaxemulator@11423 7 MAINTAINER="erjo@slitaz.org"
pascal@14714 8 LICENSE="GPL2"
erjo@11417 9 WEB_SITE="http://www.stafford.uklinux.net/libesmtp/"
al@20406 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libesmtp.html"
al@20406 11
erjo@11417 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@11417 13 WGET_URL="http://www.stafford.uklinux.net/libesmtp/$TARBALL"
erjo@11417 14
al@20406 15 BUILD_DEPENDS="automake libtool openssl-dev"
al@20406 16 SPLIT="libesmtp-dev"
al@20406 17 COOKOPTS="skip-log-errors"
erjo@11417 18
al@20406 19 compile_rules() {
al@20406 20 # fix a build issue with OpenSSL-1.1.0
al@20406 21 sed 's@SSL_library_init@SSL_new@g' -i configure.ac
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 DEPENDS="libesmtp openssl-dev"
al@20406 39 ;;
al@20406 40 esac
erjo@11417 41 }