blob: 5f2f5142c6ad6fd85e1a9234a6352b5a4b2ee11d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=dma
pkgver=0.11
pkgrel=1
pkgdesc="A small Mail Transport Agent from DragonFly BSD"
url="https://github.com/corecode/dma"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends="bison flex libbsd-dev bsd-compat-headers openssl-dev"
install=""
options="suid"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/corecode/$pkgname/archive/v$pkgver.tar.gz
musl-fixes.patch"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
make -C "$_builddir" || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" PREFIX=/usr \
install install-etc || return 1
# Create spool directory.
install -d -o root -g mail \
-m 775 "$pkgdir"/var/spool/$pkgname || return 1
# Install additional documentation files.
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/examples
install -m644 README.markdown TODO \
"$pkgdir"/usr/share/doc/$pkgname/ || return 1
}
md5sums="4090572921fc33be0977f4010881b501 dma-0.11.tar.gz
dae016c71deec1db57604149f2644537 musl-fixes.patch"
sha256sums="288bd57f17aba696b6423b1fa0cd0f7d9b7228d32811f1cd7b821d5f020051b8 dma-0.11.tar.gz
e7c39867da5e9c4cd91e0c82e071f770f3e615815c0bb47dd37eb9b2ec2242f0 musl-fixes.patch"
sha512sums="8ccf85a921da12cbf5b9f2c93dd96da91d2acdace979ed4a6b37af94e72441bf654ac65525fc2c1118c1b16136278de4daeafc753dcaf4300a017e317f83fc4d dma-0.11.tar.gz
051af3d10711f7565fedd3a06c152454020e903e2e923a37cc77ccbf4346f308edecfe4f3d3c37a3cb2e54d1fb336bb4d9cea2a7d6dc560aec3c2369eb55e6a9 musl-fixes.patch"
|