aboutsummaryrefslogtreecommitdiffstats
path: root/community/hermes/APKBUILD
blob: 83a8c1d18c2e9b73c7bfa5a56b88dea2b90d2e75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=hermes
pkgver=1.9
pkgrel=3
pkgdesc="Hermes is an anti-spam transparent SMTP proxy"
url="https://hermes-project.com/"
arch="all"
license="GPL"
makedepends="libspf2-dev sqlite-dev perl gettext-dev libressl-dev doxygen"
subpackages="$pkgname-doc"
source="https://hermes-project.com/files/${pkgname}-${pkgver}.tar.bz2
         Utils.cpp.patch"

builddir=${srcdir}/${pkgname}-${pkgver}

build() {
	cd "$builddir"
        ./configure \
           --build=$CBUILD \
           --host=$CHOST \
           --prefix=/usr \
           --enable-spf \
           --enable-openssl
        make
}

package() {
	cd "$builddir"
        make DESTDIR="$pkgdir" install
}

sha512sums="9861177cee7d4936e2221f3ff9f60c030385d6c2ab1cbc320f4e03880220117c580a11188e011f9051c79691e1ab8399c03be8cbbc4f18519a1a9b966bf767b9  hermes-1.9.tar.bz2
ac5859bed41c5b484adf8b42d66d69cf49966df84e664f9f6978d3c4fa6200858ea024c6631c2f1fd02c09d7f95e6102b3fce68b3f92f5223c4f8a253fd57d0c  Utils.cpp.patch"