contrib/uptimed/Pkgfile

27 lines
592 B
Plaintext
Raw Normal View History

2007-09-12 16:44:17 +02:00
# Description: Uptime record tracking daemon.
2015-04-09 11:55:03 +02:00
# URL: https://github.com/rpodgorny/uptimed
2014-11-10 13:28:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
2007-09-12 16:44:17 +02:00
# Packager: Mark Rosenstand, mark at borkware dot net
# Depends on:
2006-11-03 18:41:32 +01:00
name=uptimed
2020-09-01 12:02:49 +02:00
version=0.4.3
2006-11-03 18:41:32 +01:00
release=1
source=(https://github.com/rpodgorny/uptimed/archive/v$version/$name-$version.tar.gz
2015-04-09 11:55:03 +02:00
uptimed.rc)
2006-11-03 18:41:32 +01:00
build() {
2008-12-18 17:16:24 +01:00
cd $name-$version
2007-09-12 16:44:17 +02:00
2015-04-09 11:55:03 +02:00
./autogen.sh
2007-01-06 21:45:24 +01:00
./configure \
--prefix=/usr \
--sysconfdir=/etc
2007-09-12 16:44:17 +02:00
2006-11-03 18:41:32 +01:00
make
make DESTDIR=$PKG install
2007-09-12 16:44:17 +02:00
2006-11-03 18:41:32 +01:00
mv $PKG/etc/uptimed.conf-dist $PKG/etc/uptimed.conf
2015-04-09 11:55:03 +02:00
install -m 0755 -D $SRC/uptimed.rc $PKG/etc/rc.d/uptimed
2006-11-03 18:41:32 +01:00
}