2007-09-13 00:44:17 +10:00
|
|
|
# Description: Uptime record tracking daemon.
|
|
|
|
# URL: http://podgorny.cz/uptimed/
|
2008-03-26 13:45:31 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2007-09-13 00:44:17 +10:00
|
|
|
# Packager: Mark Rosenstand, mark at borkware dot net
|
|
|
|
# Depends on:
|
2006-11-03 18:41:32 +01:00
|
|
|
|
|
|
|
name=uptimed
|
2009-01-04 04:38:18 +11:00
|
|
|
version=0.3.16
|
2006-11-03 18:41:32 +01:00
|
|
|
release=1
|
2008-12-19 03:16:24 +11:00
|
|
|
source=(http://podgorny.cz/uptimed/releases/$name-$version.tar.bz2
|
2009-01-04 04:38:18 +11:00
|
|
|
uptimed-0.3.16.patch rc.uptimed)
|
2006-11-03 18:41:32 +01:00
|
|
|
|
|
|
|
build() {
|
2008-12-19 03:16:24 +11:00
|
|
|
cd $name-$version
|
2009-01-04 04:38:18 +11:00
|
|
|
patch -p 1 -i $SRC/uptimed-0.3.16.patch
|
2007-09-13 00:44:17 +10:00
|
|
|
|
2007-01-06 21:45:24 +01:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--mandir=/usr/man \
|
|
|
|
--disable-static
|
2007-09-13 00:44:17 +10:00
|
|
|
|
2006-11-03 18:41:32 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-09-13 00:44:17 +10:00
|
|
|
|
2006-11-03 18:41:32 +01:00
|
|
|
mv $PKG/etc/uptimed.conf-dist $PKG/etc/uptimed.conf
|
2008-12-19 03:16:24 +11:00
|
|
|
install -m 0755 -D $SRC/rc.uptimed $PKG/etc/rc.d/uptimed
|
2006-11-03 18:41:32 +01:00
|
|
|
}
|