void-packages/srcpkgs/outils/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

29 lines
792 B
Bash

# Template file for 'outils'
pkgname=outils
version=0.2
revision=3
build_style=gnu-makefile
make_install_args="install install-calendars"
makedepends="libressl-devel"
depends="gcc" # for cpp(1)
conflicts="signify>=0 openbsd-rs>=0 vis-git>=0"
short_desc="Some non-standard OpenBSD tools"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="ISC, BSD"
homepage="https://github.com/chneukirchen/outils"
distfiles="https://github.com/chneukirchen/${pkgname}/archive/v${version}.tar.gz"
checksum=e37626abd95ada936250938f4142161f70dae8247257db946708d6a87e785ddc
do_build() {
make ${makejobs} CC="$CC" CFLAGS="$CFLAGS"
}
pre_install() {
vmkdir usr/share/man/man1
vmkdir usr/share/man/man8
}
post_install() {
rm ${DESTDIR}/usr/bin/cksum ${DESTDIR}/usr/share/man/man1/cksum.1
}