2015-10-04 23:33:58 +00:00
|
|
|
# Template file for 'imapfilter'
|
|
|
|
pkgname=imapfilter
|
2016-01-19 17:12:30 +00:00
|
|
|
version=2.6.5
|
2015-12-10 04:38:26 +00:00
|
|
|
revision=1
|
2015-10-04 23:33:58 +00:00
|
|
|
build_style=gnu-makefile
|
2015-11-02 17:18:30 +00:00
|
|
|
hostmakedepends="lua-devel"
|
2015-10-04 23:33:58 +00: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"
|
2016-01-19 17:12:30 +00:00
|
|
|
checksum=0f4b49e1be75ebfd5e3a3bdbff01d68aaafdb7acddc35fc40dcf437029708055
|
2015-10-04 23:33:58 +00:00
|
|
|
|
|
|
|
post_configure() {
|
|
|
|
sed -i \
|
|
|
|
-e '/^MANDIR/s:/man:/share/man:' \
|
2015-10-09 22:15:11 +00:00
|
|
|
-e '/^PREFIX/s:PREFIX = /usr/local:PREFIX = /usr:' \
|
2015-10-04 23:33:58 +00: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
|
|
|
|
}
|