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

Collapse All | Expand All

(-)ion2-20040211-r2.ebuild (-8 / +9 lines)
Lines 22-27 Link Here
22
22
23
	cd ${S}
23
	cd ${S}
24
24
25
	epatch ${FILESDIR}/ion-2-20040207-rename-to-ion2_pwm2.patch
25
	epatch ${FILESDIR}/ion2-20040207-20040211.patch
26
	epatch ${FILESDIR}/ion2-20040207-20040211.patch
26
27
27
	if [ `use truetype` ]; then
28
	if [ `use truetype` ]; then
Lines 56-82 Link Here
56
57
57
	make \
58
	make \
58
		prefix=${D}/usr \
59
		prefix=${D}/usr \
59
		ETCDIR=${D}/etc/X11/ion \
60
		ETCDIR=${D}/etc/X11/ion2 \
60
		SHAREDIR=${D}/usr/share/ion \
61
		SHAREDIR=${D}/usr/share/ion2 \
61
		MANDIR=${D}/usr/share/man \
62
		MANDIR=${D}/usr/share/man \
62
		DOCDIR=${D}/usr/share/doc/${PF} \
63
		DOCDIR=${D}/usr/share/doc/${PF} \
63
		install || die
64
		install || die
64
65
65
	prepalldocs
66
	prepalldocs
66
67
67
	insinto /usr/include/ion
68
	insinto /usr/include/ion2
68
	doins *.h *.mk mkexports.lua
69
	doins *.h *.mk mkexports.lua
69
	for i in de floatws ioncore ionws luaextl menu query; do
70
	for i in de floatws ioncore ionws luaextl menu query; do
70
		insinto /usr/include/ion/${i}
71
		insinto /usr/include/ion2/${i}
71
		doins ${i}/*.h
72
		doins ${i}/*.h
72
	done
73
	done
73
	insinto /usr/include/ion/libtu
74
	insinto /usr/include/ion2/libtu
74
	doins libtu/include/libtu/*
75
	doins libtu/include/libtu/*
75
76
76
	echo -e "#!/bin/sh\n/usr/bin/ion" > ${T}/ion
77
	echo -e "#!/bin/sh\n/usr/bin/ion2" > ${T}/ion2
77
	echo -e "#!/bin/sh\n/usr/bin/pwm" > ${T}/pwm
78
	echo -e "#!/bin/sh\n/usr/bin/pwm2" > ${T}/pwm2
78
	exeinto /etc/X11/Sessions
79
	exeinto /etc/X11/Sessions
79
	doexe ${T}/ion ${T}/pwm
80
	doexe ${T}/ion2 ${T}/pwm2
80
81
81
	insinto /usr/share/xsessions
82
	insinto /usr/share/xsessions
82
	doins ${FILESDIR}/ion2.desktop
83
	doins ${FILESDIR}/ion2.desktop

Return to bug 46225