void-packages/srcpkgs/imapfilter/template

28 lines
779 B
Bash
Raw Normal View History

2015-10-05 01:33:58 +02:00
# Template file for 'imapfilter'
pkgname=imapfilter
2016-01-24 14:28:30 +01:00
version=2.6.6
revision=1
2015-10-05 01:33:58 +02:00
build_style=gnu-makefile
2016-01-20 08:08:11 +01:00
make_build_args="DESTIDIR=${DESTDIR} PREFIX=/usr"
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"
2016-01-24 14:28:30 +01:00
checksum=3ee921d9ca23c794291fa9815028e02c19e0549e1f8ded1133a0ee1747a6230e
2015-10-05 01:33:58 +02:00
post_configure() {
sed -i \
-e '/^MANDIR/s:/man:/share/man:' \
-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
}