28 lines
862 B
Bash
28 lines
862 B
Bash
# Template file for 'dma'
|
|
pkgname=dma
|
|
version=0.12
|
|
revision=1
|
|
conf_files="/etc/dma/*.conf"
|
|
make_dirs="/var/spool/dma 2775 root mail"
|
|
hostmakedepends="flex"
|
|
makedepends="libressl-devel"
|
|
short_desc="Small Mail Transport Agent (MTA), designed for home and office use"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/corecode/dma"
|
|
distfiles="https://github.com/corecode/dma/archive/v${version}.tar.gz"
|
|
checksum=054a40203d43bc1182dcadf2375ccf01944329dce472444acb42d56cf01de367
|
|
system_accounts="mail"
|
|
|
|
provides="smtp-server-0_1 smtp-forwarder-0_1"
|
|
replaces="smtp-server>=0 smtp-forwarder>=0"
|
|
|
|
do_build() {
|
|
make PREFIX=/usr SBIN=/usr/bin 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
|
|
vlicense LICENSE
|
|
}
|