2019-11-02 23:09:00 +01:00
|
|
|
# Description: IMAP mail filtering utility
|
|
|
|
# URL: https://github.com/lefcha/imapfilter
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2020-11-11 09:15:57 +01:00
|
|
|
# Depends on: lua libpcre2
|
2019-11-02 23:09:00 +01:00
|
|
|
|
|
|
|
name=imapfilter
|
2023-01-11 22:09:37 +01:00
|
|
|
version=2.8.1
|
2019-11-02 23:09:00 +01:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/lefcha/imapfilter/archive/v$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
sed -i "s/MYCFLAGS =/MYCFLAGS=${CFLAGS}/" src/Makefile
|
|
|
|
sed -i "s/MYLDFLAGS =/MYLDFLAGS=${LDFLAGS}/" src/Makefile
|
|
|
|
|
|
|
|
make PREFIX=/usr all
|
|
|
|
make PREFIX=/usr DESTDIR="$PKG/" MANDIR=/usr/share/man install
|
|
|
|
}
|