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

Collapse All | Expand All

(-)tux-3.2.16-r1.ebuild.orig (-14 / +11 lines)
Lines 4-12 Link Here
4
4
5
inherit eutils
5
inherit eutils
6
6
7
DESCRIPTION="kernel level httpd"
7
DESCRIPTION="kernel level static httpd"
8
HOMEPAGE="http://people.redhat.com/mingo/TUX-patches/"
8
HOMEPAGE="http://people.redhat.com/mingo/TUX-patches/"
9
SRC_URI="http://people.redhat.com/mingo/TUX-patches/${P}.tar.gz"
9
SRC_URI="${HOMEPAGE}${P}.tar.gz"
10
10
11
LICENSE="GPL-2"
11
LICENSE="GPL-2"
12
SLOT="0"
12
SLOT="0"
Lines 20-42 Link Here
20
	doc? ( app-text/docbook-sgml-utils )"
20
	doc? ( app-text/docbook-sgml-utils )"
21
21
22
src_unpack() {
22
src_unpack() {
23
	unpack ${A}
23
	unpack "${A}"
24
	cd ${S}
24
	cd "${S}"
25
	sed -i "s:-g -fomit-frame-pointer -O2:${CFLAGS}:" Makefile
25
	sed -i "s:-g -fomit-frame-pointer -O2:${CFLAGS}:" Makefile
26
	use doc || echo "all:" > docs/Makefile
26
	use doc || echo "all:" > docs/Makefile
27
	epatch ${FILESDIR}/${PV}-gcc34.patch
27
	epatch "${FILESDIR}/${PV}-gcc34.patch"
28
	epatch ${FILESDIR}/${PV}-glibc.patch
28
	epatch "${FILESDIR}/${PV}-glibc.patch"
29
}
29
	epatch "${FILESDIR}/${PV}-syscall.patch"
30
31
src_compile() {
32
	emake || die
33
}
30
}
34
31
35
src_install() {
32
src_install() {
36
	make install TOPDIR=${D} || die
33
	make install TOPDIR="${D}" || die
37
	rm -rf ${D}/etc/{rc.d,sysconfig} ${D}/var/tux
34
	rm -rf "${D}/etc/{rc.d,sysconfig}" "${D}/var/tux"
38
	newinitd ${FILESDIR}/tux.init.d tux
35
	newinitd "${FILESDIR}/tux.init.d" tux
39
	newconfd ${FILESDIR}/tux.conf.d tux
36
	newconfd "${FILESDIR}/tux.conf.d" tux
40
37
41
	dodoc NEWS SUCCESS tux.README docs/*.txt
38
	dodoc NEWS SUCCESS tux.README docs/*.txt
42
	docinto samples
39
	docinto samples

Return to bug 227903