updated on Sat Jan 14 16:01:55 UTC 2012
[aur-mirror.git] / tntnet / PKGBUILD
blob4aaaee86df8ffed9570574530b39cb593fe50d51
1 # Maintainer: Matz Radloff <matzradloff@gmx.de>
2 # Contributor: Jan Willies <jan@willies.info>
4 pkgname="tntnet"
5 pkgver="2.0"
6 pkgrel="2"
7 pkgdesc="A modular, multithreaded, high performance webapplicationserver for C++"
8 url="http://www.tntnet.org/index.html"
9 license=("LGPL")
10 arch=("i686" "x86_64")
11 source=(http://www.tntnet.org/download/$pkgname-$pkgver.tar.gz)
12 md5sums=('8f7185eeed23e7ae6a9be314e2fc0d36')
13 depends=('cxxtools' 'zip' 'gnutls')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
18   ./configure --prefix=/usr --sysconfdir=/etc
19   make || return 1
20   make DESTDIR="$pkgdir" install
22   install -Dm755 $startdir/src/$pkgname-$pkgver/etc/init.d/tntnet ${startdir}/pkg/etc/rc.d/tntnet
23   rm -rf ${startdir}/pkg/etc/init.d/
26 # vim:ts=2:sw=2:et