blob: c2351088abb4be939ea3d2a9ed3663d8dbff6699 (
plain)
1 # Description: Uptime record tracking daemon.
2 # URL: https://github.com/rpodgorny/uptimed
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Packager: Mark Rosenstand, mark at borkware dot net
5
6 name=uptimed
7 version=0.4.6
8 release=1
9 source=(https://github.com/rpodgorny/uptimed/archive/v$version/$name-$version.tar.gz
10 uptimed.rc)
11
12 build() {
13 cd $name-$version
14
15 ./autogen.sh
16 ./configure \
17 --prefix=/usr \
18 --sysconfdir=/etc
19
20 make
21 make DESTDIR=$PKG install
22
23 mv $PKG/etc/uptimed.conf-dist $PKG/etc/uptimed.conf
24 install -m 0755 -D $SRC/uptimed.rc $PKG/etc/rc.d/uptimed
25 }
|