void-packages/srcpkgs/mairix/template

20 lines
662 B
Bash

# Template file for 'mairix'
pkgname=mairix
version=0.24
revision=8
build_style=configure
configure_args="--prefix=/usr --mandir=/usr/share/man"
hostmakedepends="flex bison"
makedepends="bzip2-devel openssl-devel zlib-devel"
short_desc="A program for indexing and searching emails"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-only"
homepage="https://github.com/vandry/mairix"
distfiles="https://github.com/vandry/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.gz"
checksum=a0702e079c768b6fbe25687ebcbabe7965eb493d269a105998c7c1c2caef4a57
patch_args=-Np0
pre_build() {
make -C dfasyn CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS"
}