PKGBUILDs/extra/fssos-nsvs/PKGBUILD
2009-10-09 21:23:22 -05:00

25 lines
828 B
Bash

# $Id: PKGBUILD 32411 2009-03-31 10:48:57Z pierre $
# Maintainer: Dale Blount <dale@archlinux.org>
# Contributor: Dale Blount <dale@archlinux.org>
pkgname=fssos-nsvs
pkgver=0.5
pkgrel=5
pkgdesc="NSVS for FSSOS"
arch=('i686' 'x86_64')
url="http://fssos.sourceforge.net/"
license=('GPL')
depends=('bash' 'mysql>=5.1')
backup=('etc/nsvsd.conf')
options=('!libtool' '!makeflags')
install=$pkgname.install
source=(http://downloads.sourceforge.net/sourceforge/fssos/nsvs-$pkgver.tar.gz nsvsd)
md5sums=('3f17c2f6339f1a322b712b467023d825' '4dfd9dc0d69b375587e39ab2621d9ea9')
build() {
cd $srcdir/nsvs-$pkgver
./configure --prefix=/usr --sysconfdir=/etc || return 1
make CFLAGS="${CFLAGS} -D_GNU_SOURCE" || return 1
make DESTDIR=$pkgdir install || return 1
install -D -m755 $srcdir/nsvsd $pkgdir/etc/rc.d/nsvsd || return 1
}