void-packages/srcpkgs/fdm/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

21 lines
688 B
Bash

# Template file for 'fdm'
pkgname=fdm
version=1.8
revision=4
build_style=configure
make_build_args="PCRE=1"
hostmakedepends="bison"
makedepends="zlib-devel libressl-devel tdb-devel pcre-devel"
short_desc="Program to fetch and deliver mail"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="ISC"
homepage="http://fdm.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname/$pkgname-$version/$pkgname-$version.tar.gz"
checksum=4f4c000d3e2cd11936c23c0d7a95da860743b7543790d5797268df18864b2342
do_install() {
make DESTDIR=$DESTDIR PREFIX=/usr MANDIR=/usr/share/man install
vmkdir usr/share/doc/${pkgname}
cp -r examples ${DESTDIR}/usr/share/doc/${pkgname}
}