blob: d6d8536480e64f5e979cc135eb5b08177aea0d64 (
plain)
1 # Description: A library for posting electronic mail
2 # URL: http://brianstafford.info/libesmtp
3 # Maintainer: Thomas Penteker, tek at serverop dot de
4 # Depends on: openssl
5
6 name=libesmtp
7 version=1.0.6
8 release=2
9 source=(https://pkgs.fedoraproject.org/repo/pkgs/$name/$name-$version.tar.bz2/bf3915e627fd8f35524a8fdfeed979c8/$name-$version.tar.bz2
10 libesmtp-1.0.6-openssl-1.1-api-compatibility.patch)
11
12 build() {
13 cd $name-$version
14
15 patch -p1 -i $SRC/libesmtp-1.0.6-openssl-1.1-api-compatibility.patch
16 autoreconf -i
17
18 ./configure \
19 --prefix=/usr \
20 --with-openssl=/usr \
21 --includedir=/usr/include/libesmtp
22
23 make
24 make DESTDIR=$PKG install
25 }
|