void-packages/srcpkgs/geomyidae/template

24 lines
590 B
Bash
Raw Normal View History

2017-07-22 12:59:11 +00:00
# Template file for 'geomyidae'
pkgname=geomyidae
version=0.27
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="d5164298890cf4a83de46e1baf6fefb81b26d1a462b5ebc628547cbf1f7a7916"
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
}