Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 33171 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/net-libs/libical-moz/libical-moz-0.23.ebuild (-3 / +22 lines)
Lines 7-29 Link Here
7
SRC_URI="http://www.oeone.com/files/libical-${PV}-moz.tar.gz"
7
SRC_URI="http://www.oeone.com/files/libical-${PV}-moz.tar.gz"
8
HOMEPAGE="http://www.mozilla.org/projects/calendar/installation.html"
8
HOMEPAGE="http://www.mozilla.org/projects/calendar/installation.html"
9
9
10
IUSE="python"
11
10
DEPEND="virtual/glibc"
12
DEPEND="virtual/glibc"
11
13
12
SLOT="0"
14
SLOT="0"
13
LICENSE="MPL-1.1 | LGPL-2"
15
LICENSE="MPL-1.1 | LGPL-2"
14
KEYWORDS="x86 sparc ~alpha"
16
KEYWORDS="x86 sparc ~alpha"
15
17
18
src_unpack()
19
{
20
	unpack ${A}
21
	cp ${FILESDIR}/__init__.py ${S}/src/python
22
	cp ${FILESDIR}/setup.py ${S}/src/python
23
	epatch ${FILESDIR}/python-fixes-patch
24
	cd ${S}/src/python
25
	ln -s . Libical
26
}
27
16
src_compile() {
28
src_compile() {
17
29
30
	myconf=""
31
	use python || myconf="${myconf} --disable-python-bindings"
18
	cd ${S}
32
	cd ${S}
19
	./autogen.sh --prefix=/usr --disable-python-bindings || die
33
	./autogen.sh --prefix=/usr ${myconf} || die
20
	emake || die
34
	make || die
21
35
36
	cd ${S}/src/python
37
	python setup.py build || die
22
}
38
}
23
39
24
src_install () {
40
src_install () {
25
41
26
	make DESTDIR=${D} install || die
42
	make DESTDIR=${D} install || die
27
28
	dodoc AUTHORS ChangeLog LICENSE NEWS README TEST THANKS TODO
43
	dodoc AUTHORS ChangeLog LICENSE NEWS README TEST THANKS TODO
44
45
	cd ${S}/src/python
46
	python setup.py install --prefix=/usr --root=${D} || die
47
29
}
48
}

Return to bug 33171