void-packages/srcpkgs/mairix/template

19 lines
647 B
Bash

# Template file for 'mairix'
pkgname=mairix
version=0.24
revision=6
build_style=configure
configure_args="--prefix=/usr --mandir=/usr/share/man"
hostmakedepends="flex bison"
makedepends="bzip2-devel libressl-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
pre_build() {
make -C dfasyn CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS"
}