mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 18:02:57 +02:00
parent
f646dbba3b
commit
0a46d5bc5f
1 changed files with 19 additions and 0 deletions
19
srcpkgs/sunwait/template
Normal file
19
srcpkgs/sunwait/template
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Template file for 'sunwait'
|
||||||
|
pkgname=sunwait
|
||||||
|
version=0.20041208
|
||||||
|
revision=1
|
||||||
|
wrksrc="${pkgname}-${version##*.}"
|
||||||
|
build_style=gnu-makefile
|
||||||
|
short_desc="A small C program calculating sunrise and sunset"
|
||||||
|
maintainer="Nicklaus McClendon <nicklaus@kulinacs.com>"
|
||||||
|
license="GPL-2"
|
||||||
|
homepage="http://www.risacher.org/sunwait/"
|
||||||
|
distfiles="${homepage}${pkgname}-${version##*.}.tar.gz"
|
||||||
|
checksum=46ecd64142e0c7c2decac8df241b78ccae0d1b323929fb4d61aa1acc16a9ff96
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
sed -i 's/\(-lm\)/\1 $(LDFLAGS)/' Makefile
|
||||||
|
}
|
||||||
|
do_install() {
|
||||||
|
vbin sunwait
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue