void-packages/srcpkgs/geomyidae/template

26 lines
651 B
Bash

# Template file for 'geomyidae'
pkgname=geomyidae
version=0.34
revision=1
wrksrc=${pkgname}-v${version}
build_style=gnu-makefile
short_desc="A 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}.tgz"
checksum=2580ad0f229cd3f5c33495975a708679aeaf5276c06ec8d55871d7f69b216eb0
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
}