blob: 97b042ae554deaa78ba8a0b3471bdfe90b33a3c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=netdot
pkgver=0.9.10
pkgrel=1
pkgdesc="Network Documentation Tool project"
url="http://netdot.uoregon.edu"
arch="noarch"
license="GPL"
depends="mysql"
depends_dev="wget perl-dbd-mysql perl-class-dbi perl-class-dbi-abstractsearch
perl-html-mason perl-uri perl-dbix-datasource graphviz-dev perl-sql-translator
perl-net-snmp perl-netaddr-ip perl-apache-session perl-log-dispatch perl-log-log4perl
perl-parallel-forkmanager perl-net-iptrie perl-radiusperl perl-rrd perl-test-simple
perl-time-local perl-pathtools perl-net-appliance-session perl-bind-config-parser
perl-net-dns perl-carp-assert perl-net-dns-zonefile-fast perl-socket6 perl-xml-simple
perl-net-irr perl-graphviz perl-apache2-sitecontrol perl-apache-authcookie
perl-libapreq2"
makedepends="$depends_dev"
install="$pkgname.post-install"
subpackages=""
source="https://netdot.uoregon.edu/pub/dists/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make testdeps
}
package() {
cd "$_builddir"
make -j1 install PREFIX="$pkgdir/usr/share/webapps/netdot" || return 1
install -Dm755 "$_builddir/bin/initdb" "$pkgdir"/usr/share/webapps/netdot/bin/initdb
}
md5sums="2dab1aadbbace097d420349b0cfd3573 netdot-0.9.10.tar.gz"
|