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

Collapse All | Expand All

(-)bitkeeper-3.0-r1.ebuild (-4 / +6 lines)
Lines 14-23 Link Here
14
KEYWORDS="x86 ppc sparc alpha"
14
KEYWORDS="x86 ppc sparc alpha"
15
15
16
# I'm not sure what the official way to do this is...
16
# I'm not sure what the official way to do this is...
17
use 'x86' >/dev/null && A="bk-3.0-x86-glibc22-linux.bin"
17
[ -n "`use x86`" ] && A="bk-3.0-x86-glibc22-linux.bin"
18
use 'ppc' >/dev/null && A="bk-3.0-powerpc-glibc21-linux.bin"
18
[ -n "`use ppc`" ] && A="bk-3.0-powerpc-glibc21-linux.bin"
19
use 'sparc' >/dev/null && A="bk-3.0-sparc-glibc21-linux.bin"
19
[ -n "`use sparc`" ] && A="bk-3.0-sparc-glibc21-linux.bin"
20
use 'alpha' >/dev/null && A="bk-3.0-alpha-glibc21-linux.bin"
20
[ -n "`use alpha`" ] && A="bk-3.0-alpha-glibc21-linux.bin"
21
21
22
pkg_setup() {
22
pkg_setup() {
23
	if [ ! -f ${DISTDIR}/${A} ] ; then
23
	if [ ! -f ${DISTDIR}/${A} ] ; then
Lines 46-51 Link Here
46
	dodir /etc/env.d
46
	dodir /etc/env.d
47
	cd ${D}/opt && tar -xzf ${S}/archive
47
	cd ${D}/opt && tar -xzf ${S}/archive
48
	mv ${D}/opt/bitkeeper ${D}/opt/${P}
48
	mv ${D}/opt/bitkeeper ${D}/opt/${P}
49
	chown -R root:root ${D}/opt/${P}
50
	chmod -R u+w,go-w ${D}/opt/${P}
49
	cat <<EOF >${D}/etc/env.d/10bitkeeper
51
	cat <<EOF >${D}/etc/env.d/10bitkeeper
50
# Generated by ${P}.ebuild
52
# Generated by ${P}.ebuild
51
PATH=/opt/${P}
53
PATH=/opt/${P}

Return to bug 10549