contrib/uptimed/Pkgfile

30 lines
689 B
Plaintext
Raw Normal View History

2007-09-12 16:44:17 +02:00
# Description: Uptime record tracking daemon.
# URL: http://podgorny.cz/uptimed/
2008-03-26 03:45:31 +01:00
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
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
2008-12-18 17:16:24 +01:00
version=0.3.13
2006-11-03 18:41:32 +01:00
release=1
2008-12-18 17:16:24 +01:00
source=(http://podgorny.cz/uptimed/releases/$name-$version.tar.bz2
$name-0.3.13.patch rc.uptimed)
2006-11-03 18:41:32 +01:00
build() {
2008-12-18 17:16:24 +01:00
cd $name-$version
patch -p 1 -i $SRC/$name-0.3.13.patch
chmod u+x configure
2007-09-12 16:44:17 +02:00
2007-01-06 21:45:24 +01:00
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/man \
--disable-static
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
2008-12-18 17:16:24 +01:00
install -m 0755 -D $SRC/rc.uptimed $PKG/etc/rc.d/uptimed
2006-11-03 18:41:32 +01:00
}