Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 93189
Collapse All | Expand All

(-)plan-1.8.7.ebuild (-7 / +18 lines)
Lines 6-13 Link Here
6
6
7
DESCRIPTION="Motif based schedule planner"
7
DESCRIPTION="Motif based schedule planner"
8
HOMEPAGE="http://www.bitrot.de/plan.html"
8
HOMEPAGE="http://www.bitrot.de/plan.html"
9
SRC_URI="ftp://plan.ftp.fu-berlin.de/${P}.tar.gz
9
SRC_URI="ftp://plan.ftp.fu-berlin.de/${P}.tar.gz"
10
	mirror://gentoo/${P}-gentoo.tar.bz2"
10
#	mirror://gentoo/${P}-gentoo.tar.bz2"
11
11
12
LICENSE="as-is"
12
LICENSE="as-is"
13
SLOT="0"
13
SLOT="0"
Lines 21-37 Link Here
21
21
22
src_unpack() {
22
src_unpack() {
23
	unpack ${A}
23
	unpack ${A}
24
	epatch ${WORKDIR}/${P}-errno.patch
24
	tar xvjf ${FILESDIR}/${P}-gentoo.tar.bz2 || die
25
	epatch ${WORKDIR}/${P}-gentoo.patch
25
26
	epatch ${WORKDIR}/${P}-webplan.patch
26
	cd ${S}/..
27
	epatch ${WORKDIR}/${PN}-1.8.7-webplan.patch
28
29
	cd ${S}
30
	sed -i.org -e "s@/usr/local/@/usr/@g" Makefile ||\
31
		die "sedding Makefile failed"
27
}
32
}
28
33
34
29
src_compile() {
35
src_compile() {
30
	make linux || die "make failed"
36
	make SHARE=/usr/share/plan linux || die "make failed"
31
}
37
}
32
38
33
src_install() {
39
src_install() {
34
	make DESTDIR=${D} install || die
40
	make \
41
		DESTDIR=${D} \
42
		SHARE=/usr/share/plan \
43
		install || die "install failed"
35
	keepdir /usr/share/plan/netplan.dir
44
	keepdir /usr/share/plan/netplan.dir
36
45
37
	cd ${S}/..
46
	cd ${S}/..
Lines 52-57 Link Here
52
		|| die "webplan install failed"
61
		|| die "webplan install failed"
53
	exeinto /usr/share/${PN}/web
62
	exeinto /usr/share/${PN}/web
54
	doexe *.cgi || die "webplan install failed"
63
	doexe *.cgi || die "webplan install failed"
64
65
	fowner nobody:nobody /usr/share/plan/netplan.dir/ || die "fowner failed"
55
}
66
}
56
67
57
pkg_postinst() {
68
pkg_postinst() {

Return to bug 93189