1 # Maintainer: Thomas Techinus ttech@mostlynothing.info
6 pkgdesc=" colletion of daemons to provide support to retrieve weather station information."
8 url="http://www.wviewweather.com/"
10 depends=('zlib' 'libzip' 'libpng' 'gd' 'libusb' 'radlib') # radlib is needed but doesn't work here?
11 makedepends=('curl' 'gawk' 'wget' 'file')
12 optdepends=('apache2: To view weather station site'
14 'php: web admin interface'
15 'php-gd: For generating web interface images'
16 'php-sqlite: to access weather datababases')
17 backup=(etc/wview/{graphics,images,images-user,arcrec-header}.conf
18 etc/wview/wview-conf.sdb
19 etc/wview/wview-binary
20 etc/wview/html/{html-templates,graphics}.conf
21 var/wview/archive/wview-{archive,hilo,history,noaa}.sdb)
23 source=(http://downloads.sourceforge.net/project/wview/wview/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz wview)
24 #install=('wview.install')
25 md5sums=('7a615d953a56c8f5c604f839b7a291ed'
26 '9f2a4560bdcef6a24d10b1306b58771b')
28 cd $srcdir/$pkgname-$pkgver
29 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
31 make DESTDIR=$pkgdir install || return 1
32 install -D -m755 "${srcdir}/wview" "${pkgdir}/etc/rc.d/wview" || return 1
34 echo "Make sure to run wviewconfig and wviewhtmlconfig if this is your first time installing!"