contrib/uptimed/Pkgfile

29 lines
672 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
2009-01-03 18:38:18 +01:00
version=0.3.16
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
2009-01-03 18:38:18 +01:00
uptimed-0.3.16.patch rc.uptimed)
2006-11-03 18:41:32 +01:00
build() {
2008-12-18 17:16:24 +01:00
cd $name-$version
2009-01-03 18:38:18 +01:00
patch -p 1 -i $SRC/uptimed-0.3.16.patch
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
}