void-packages/srcpkgs/geomyidae/template

24 lines
589 B
Bash

# Template file for 'geomyidae'
pkgname=geomyidae
version=0.32.2
revision=1
build_style=gnu-makefile
short_desc="A small C-based gopherd"
maintainer="m-cz <emcze@ya.ru>"
license="MIT"
homepage="http://git.r-36.net/geomyidae/"
distfiles="http://git.r-36.net/${pkgname}/snapshot/${pkgname}-${version}.tar.gz"
checksum=ffbf0f6b2391f7082a2f24534df38b4d430ba01c7f42514f089d2f748e39625e
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
}