void-packages/srcpkgs/geomyidae/template

25 lines
648 B
Bash

# Template file for 'geomyidae'
pkgname=geomyidae
version=0.96
revision=1
build_style=gnu-makefile
makedepends="libtls-devel"
short_desc="Small C-based gopherd"
maintainer="m-cz <emcze@ya.ru>"
license="MIT"
homepage="gopher://bitreich.org/1/scm/geomyidae/"
distfiles="ftp://bitreich.org/releases/${pkgname}/${pkgname}-v${version}.tar.gz"
checksum=3bacdc72bcf9aabb6f69f350bcce7453625f1b8d8b016249fc35df8832a1e1d7
system_accounts="_geomyidae"
pre_build() {
sed -i 's| -O0||g' Makefile
sed -i 's|^CFLAGS *=|override CFLAGS +=|g' Makefile
sed -i 's|^LDFLAGS *=|override LDFLAGS +=|g' Makefile
}
post_install() {
vsv geomyidae
vlicense LICENSE
}