void-packages/srcpkgs/dma/template

26 lines
777 B
Bash
Raw Normal View History

2015-04-09 08:57:52 +00:00
# Template file for 'dma'
pkgname=dma
2015-09-26 09:29:28 +00:00
version=0.10
revision=1
2015-08-19 09:04:55 +00:00
build_pie=yes
2015-04-09 08:57:52 +00:00
conf_files="/etc/dma/dma.conf /etc/dma/auth.conf"
2015-06-02 15:25:48 +00:00
hostmakedepends="flex"
2015-04-09 08:57:52 +00:00
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"
2015-09-26 09:29:28 +00:00
checksum=eef19f577d21f1a4967f6f5e640bd33202607ce69f642ff72a43b2f861c5604b
2015-06-02 15:25:48 +00:00
provides="smtp-server-0_1 smtp-forwarder-0_1"
replaces="smtp-server>=0 smtp-forwarder>=0"
2015-04-09 08:57:52 +00:00
2015-06-02 15:25:48 +00:00
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
2015-04-09 08:57:52 +00:00
}