29 lines
911 B
Bash
29 lines
911 B
Bash
# Template file for 'dma'
|
|
pkgname=dma
|
|
version=0.9
|
|
revision=5
|
|
conf_files="/etc/dma/dma.conf /etc/dma/auth.conf"
|
|
hostmakedepends="flex"
|
|
makedepends="libressl-devel"
|
|
short_desc="Small Mail Transport Agent (MTA), designed for home and office use"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
license="BSD"
|
|
homepage="https://github.com/corecode/dma"
|
|
distfiles="https://github.com/corecode/dma/archive/v${version}.tar.gz"
|
|
checksum=69a46b5a05b0be13ee547d675eed35010fe6c6aef10335e099de33a80983c262
|
|
|
|
provides="smtp-server-0_1 smtp-forwarder-0_1"
|
|
replaces="smtp-server>=0 smtp-forwarder>=0"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) broken="http://build.voidlinux.eu/builders/x86_64-musl_builder/builds/3571/steps/shell_3/logs/stdio";;
|
|
esac
|
|
|
|
do_build() {
|
|
make CC=$CC LEX=flex ${makejobs}
|
|
}
|
|
do_install() {
|
|
vmkdir usr/bin
|
|
make PREFIX=/usr SBIN=/usr/bin DESTDIR=${DESTDIR} sendmail-link mailq-link install-etc install
|
|
}
|