2015-10-05 01:33:58 +02:00
|
|
|
# Template file for 'imapfilter'
|
|
|
|
pkgname=imapfilter
|
|
|
|
version=2.6.3
|
2015-11-02 18:18:30 +01:00
|
|
|
revision=3
|
2015-10-05 01:33:58 +02:00
|
|
|
build_style=gnu-makefile
|
2015-11-02 18:18:30 +01:00
|
|
|
hostmakedepends="lua-devel"
|
2015-10-05 01:33:58 +02:00
|
|
|
makedepends="pcre-devel lua-devel libressl-devel"
|
|
|
|
short_desc="Mail filtering utility"
|
|
|
|
maintainer="lemmi <lemmi@nerd2nerd.org>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/lefcha/imapfilter"
|
|
|
|
distfiles="https://github.com/lefcha/imapfilter/archive/v${version}.tar.gz"
|
|
|
|
checksum=1174862d6d5ca498b25a78b127c25b6bfbd4c0cec30f8dfd4b6b10f8694cd244
|
|
|
|
|
|
|
|
post_configure() {
|
|
|
|
sed -i \
|
|
|
|
-e '/^MANDIR/s:/man:/share/man:' \
|
2015-10-10 00:15:11 +02:00
|
|
|
-e '/^PREFIX/s:PREFIX = /usr/local:PREFIX = /usr:' \
|
2015-10-05 01:33:58 +02:00
|
|
|
-e '/^CFLAGS/s/CFLAGS = /override CFLAGS += /' \
|
|
|
|
-e 's/$(CC)/$(CC) $(CFLAGS)/' \
|
|
|
|
src/Makefile
|
|
|
|
}
|
|
|
|
post_install() {
|
|
|
|
vsconf samples/config.lua
|
|
|
|
vsconf samples/extend.lua
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|