void-packages/srcpkgs/geomyidae/template
m-cz 41d2f05eea geomyidae: update to 0.28.
Closes: #7331 [via git-merge-pr]
2017-08-10 04:19:31 +02:00

23 lines
588 B
Bash

# Template file for 'geomyidae'
pkgname=geomyidae
version=0.28
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/${pkgname}/"
distfiles="http://git.r-36.net/${pkgname}/snapshot/${pkgname}-${version}.tar.gz"
checksum=b5b103956c769ca940fc91a5ae54b53d6a5b6abf7b210ef6721498a624531700
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
}