commit
b64e2f01fc
3
srcpkgs/uptimed/files/uptimed/run
Executable file
3
srcpkgs/uptimed/files/uptimed/run
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
[ -r conf ] && . ./conf
|
||||||
|
exec uptimed -f $OPTS
|
24
srcpkgs/uptimed/template
Normal file
24
srcpkgs/uptimed/template
Normal 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
|
||||||
|
}
|
Loading…
Reference in a new issue