aboutsummaryrefslogtreecommitdiffstats
path: root/unstable/trac/APKBUILD
blob: 8292ef9e121a94d26d6dbb37ea9642fe5a30434e (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
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=trac
_altname=Trac
pkgver=0.11.5
pkgrel=0
pkgdesc="Trac is a minimalistic web-based project management, wiki and bug/issue tracking system."
url="http://trac.edgewall.com/"
license="GPL"
depends="python"
makedepends="postgresql-dev"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://ftp.edgewall.com/pub/$pkgname/$_altname-$pkgver.tar.gz"

# append extra dependencies to -dev subpackage
# remove if not used.
# depends_dev="somepackage-dev"

build() {
	cd "$srcdir"/$_altname-$pkgver

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
	make DESTDIR="$pkgdir" install

	# remove the 2 lines below (and this) if there is no init.d script
	# install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
	# install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}

md5sums="c8042490096a49478580fd599ad26322  Trac-0.11.5.tar.gz"