mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 23:24:44 +02:00
40 lines
998 B
Text
40 lines
998 B
Text
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=opensmtpd-table-postgres
|
|
pkgver=1.1.1
|
|
pkgrel=0
|
|
pkgdesc="OpenSMTPD PostgreSQL tables"
|
|
url="https://github.com/OpenSMTPD/table-postgres"
|
|
arch="all"
|
|
license="ISC"
|
|
makedepends="
|
|
autoconf
|
|
automake
|
|
libpq-dev
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
source="https://github.com/OpenSMTPD/table-postgres/archive/$pkgver/opensmtpd-table-postgres-$pkgver.tar.gz"
|
|
builddir="$srcdir/table-postgres-$pkgver"
|
|
options="!check" # upstream does not provide tests
|
|
|
|
prepare() {
|
|
default_prepare
|
|
./bootstrap
|
|
}
|
|
|
|
build() {
|
|
CFLAGS="$CFLAGS -I/usr/include/postgresql" \
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/share/man \
|
|
--sysconfdir=/etc/smtpd
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" smtpdir="/usr/lib/opensmtpd" install
|
|
}
|
|
|
|
sha512sums="
|
|
8870c59c90bd6c137f30a654692278ce0e40f06543c6901007efd6c94420af15779d96dd36ec724e8662af38368a1886c7b6b8e4cec7ca3b234a7d47850e068e opensmtpd-table-postgres-1.1.1.tar.gz
|
|
"
|