void-packages/srcpkgs/geomyidae/template

24 lines
587 B
Bash
Raw Normal View History

2017-07-22 14:59:11 +02:00
# Template file for 'geomyidae'
pkgname=geomyidae
2017-10-03 22:58:09 +02:00
version=0.29
2017-07-22 14:59:11 +02:00
revision=1
build_style=gnu-makefile
short_desc="A small C-based gopherd"
maintainer="m-cz <emcze@ya.ru>"
license="MIT"
2017-10-03 22:58:09 +02:00
homepage="http://git.r-36.net/geomyidae/"
2017-07-22 14:59:11 +02:00
distfiles="http://git.r-36.net/${pkgname}/snapshot/${pkgname}-${version}.tar.gz"
2017-10-03 22:58:09 +02:00
checksum=9211f146a7709f5029c0521e15e9dc968766c0a6a128f1238b3745eb00b365ba
2017-07-22 14:59:11 +02:00
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
}