Merge pull request #3116 from stpx/uptimed

New package: uptimed-0.4.0.
This commit is contained in:
Steve Prybylski 2015-12-04 17:13:30 -05:00
commit b64e2f01fc
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,3 @@
#!/bin/sh
[ -r conf ] && . ./conf
exec uptimed -f $OPTS

24
srcpkgs/uptimed/template Normal file
View file

@ -0,0 +1,24 @@
# Template file for 'uptimed'
pkgname=uptimed
version=0.4.0
revision=1
build_style=gnu-configure
configure_args="--disable-static"
conf_files="/etc/uptimed.conf"
make_dirs="/var/spool/uptimed 0755 root root"
hostmakedepends="automake libtool"
short_desc="Daemon that records system uptimes"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-2"
homepage="https://github.com/rpodgorny/uptimed"
distfiles="${homepage}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=26891965bb499065e34072cecd3eb8087102b1c05f530c8fe8504a07c722f9bf
pre_configure() {
./autogen.sh
}
post_install() {
mv ${DESTDIR}/etc/uptimed.conf-dist ${DESTDIR}/etc/uptimed.conf
vsv uptimed
}