void-packages/srcpkgs/geomyidae/template
2017-10-03 22:58:28 +02:00

23 lines
587 B
Bash

# Template file for 'geomyidae'
pkgname=geomyidae
version=0.29
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=9211f146a7709f5029c0521e15e9dc968766c0a6a128f1238b3745eb00b365ba
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
}