26 lines
645 B
Plaintext
26 lines
645 B
Plaintext
# Description: A library for posting electronic mail
|
|
# URL: http://brianstafford.info/libesmtp
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
# Depends on: openssl
|
|
|
|
name=libesmtp
|
|
version=1.0.6
|
|
release=2
|
|
source=(https://pkgs.fedoraproject.org/repo/pkgs/$name/$name-$version.tar.bz2/bf3915e627fd8f35524a8fdfeed979c8/$name-$version.tar.bz2
|
|
libesmtp-1.0.6-openssl-1.1-api-compatibility.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
patch -p1 -i $SRC/libesmtp-1.0.6-openssl-1.1-api-compatibility.patch
|
|
autoreconf -i
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--with-openssl=/usr \
|
|
--includedir=/usr/include/libesmtp
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|