blob: 7c9d63a12ab5af32e0f8f8ca5d27302e0eb9815d (
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
|
EAPI="7"
inherit webapp bjam
DESCRIPTION="Gentoo Browse is an IceSpider based web site for viewing Gentoo content"
SRC_URI="https://git.randomdan.homeip.net/repo/${PN}/snapshot/${P}.tar.xz"
HOMEPAGE="http://gentoobrowse.randomdan.homip.net/"
LICENSE="MIT"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="
virtual/pkgconfig
>=www-misc/icespider-0.9:=
>=net-misc/gentoobrowse-api-0.10
dev-cpp/slicer:=
"
pkg_setup() {
webapp_pkg_setup
}
src_compile() {
cd ${S}/${PN} || die
bjambuild cgi || die
}
src_install () {
cd ${S}/${PN} || die
bjambuild install --bindir=${D}/${MY_CGIBINDIR} || die
webapp_src_preinst
insinto ${MY_HTDOCSDIR}
doins -r config css img js xslt *.xml *.ico *.txt .htaccess || die
dosym ${MY_CGIBINDIR}/gentoobrowse-cgi ${MY_HTDOCSDIR}/gentoobrowse-cgi
webapp_src_install
}
|