diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-11-21 12:30:38 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-11-21 12:30:38 -0500 |
commit | 72c22f53c3c87c53fe48e2b879f8b2ed84f8c694 (patch) | |
tree | d24caaec916d2be336c9757cc63205aa9cb495d8 /~lukeshu/libesmtp-lukeshu/PKGBUILD | |
parent | 5d0bb6db3012c1bb2763f32d61704ea6d180030d (diff) | |
download | abslibre-72c22f53c3c87c53fe48e2b879f8b2ed84f8c694.tar.gz abslibre-72c22f53c3c87c53fe48e2b879f8b2ed84f8c694.tar.bz2 abslibre-72c22f53c3c87c53fe48e2b879f8b2ed84f8c694.zip |
add ~lukeshu/libesmtp-lukeshu
Diffstat (limited to '~lukeshu/libesmtp-lukeshu/PKGBUILD')
-rw-r--r-- | ~lukeshu/libesmtp-lukeshu/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/~lukeshu/libesmtp-lukeshu/PKGBUILD b/~lukeshu/libesmtp-lukeshu/PKGBUILD new file mode 100644 index 000000000..daa9b8c4d --- /dev/null +++ b/~lukeshu/libesmtp-lukeshu/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Lukas Fleischer <lfleischer@archlinux.org> +# Contributor: Roman Kyrylych <roman@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +_pkgname=libesmtp +pkgver=1.0.6 +pkgname=$_pkgname-lukeshu +provides=($_pkgname=$pkgver) +conflicts=($_pkgname) +pkgrel=5 +pkgdesc='A library to manage posting mail to a preconfigured MTA.' +arch=('i686' 'x86_64') +url='http://www.stafford.uklinux.net/libesmtp/' +license=('LGPL') +depends=('openssl') +source=("http://pkgs.fedoraproject.org/repo/pkgs/$_pkgname/$_pkgname-$pkgver.tar.bz2/bf3915e627fd8f35524a8fdfeed979c8/$_pkgname-$pkgver.tar.bz2") +md5sums=('bf3915e627fd8f35524a8fdfeed979c8') + +prepare() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + sed -i s/SSL_library_init/OPENSSL_init_ssl/ configure.ac configure +} + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + ./configure --prefix=/usr --with-openssl + make +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |