1
0
forked from ports/opt
opt/uptimed/Pkgfile
2005-11-16 16:45:59 +00:00

25 lines
647 B
Plaintext

# Description: System uptime record daemon
# URL: http://www.robertjohnkaper.com/software/uptimed/
# Maintainer: Jukka Heino, jukka at karsikkopuu dot net
# Packager: Jukka Heino, jukka at karsikkopuu dot net
# Depends on:
name=uptimed
version=0.3.3
release=2
source=(http://www.robertjohnkaper.com/downloads/$name/$name-$version.tar.bz2 \
$name.patch \
$name.rc)
build() {
cd $name-$version
patch -p1 < $SRC/$name.patch
./configure --prefix=/usr --sysconfdir=/etc
make
make DESTDIR=$PKG install
mv $PKG/etc/$name.conf-dist $PKG/etc/$name.conf
install -D -m 0755 $SRC/$name.rc $PKG/etc/rc.d/$name
}