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

(-)lighttpd-1.4.30.ebuild (-9 / +9 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/lighttpd-1.4.30.ebuild,v 1.1 2011/12/19 22:00:18 hwoarang Exp $
3
# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/lighttpd-1.4.30.ebuild,v 1.1 2011/12/19 22:00:18 hwoarang Exp $
4
4
5
EAPI="4"
5
EAPI=4
6
6
7
inherit base autotools eutils depend.php
7
inherit base autotools eutils depend.php
8
8
Lines 126-137 Link Here
126
}
126
}
127
127
128
src_compile() {
128
src_compile() {
129
	emake || die "emake failed"
129
	emake
130
130
131
	if use doc ; then
131
	if use doc ; then
132
		einfo "Building HTML documentation"
132
		einfo "Building HTML documentation"
133
		cd doc
133
		cd doc || die
134
		emake html || die "failed to build HTML documentation"
134
		emake html
135
	fi
135
	fi
136
}
136
}
137
137
Lines 144-156 Link Here
144
}
144
}
145
145
146
src_install() {
146
src_install() {
147
	make DESTDIR="${D}" install || die "make install failed"
147
	emake DESTDIR="${D}" install
148
148
149
	# init script stuff
149
	# init script stuff
150
	newinitd "${FILESDIR}"/lighttpd.initd lighttpd || die
150
	newinitd "${FILESDIR}"/lighttpd.initd lighttpd
151
	newconfd "${FILESDIR}"/lighttpd.confd lighttpd || die
151
	newconfd "${FILESDIR}"/lighttpd.confd lighttpd
152
	use fam && has_version app-admin/fam && \
152
	use fam && has_version app-admin/fam && \
153
		sed -i 's/after famd/need famd/g' "${D}"/etc/init.d/lighttpd
153
		{ sed -i 's/after famd/need famd/g' "${D}"/etc/init.d/lighttpd || die; }
154
154
155
	# configs
155
	# configs
156
	insinto /etc/lighttpd
156
	insinto /etc/lighttpd
Lines 173-179 Link Here
173
	use doc && dohtml -r doc/*
173
	use doc && dohtml -r doc/*
174
174
175
	docinto txt
175
	docinto txt
176
	dodoc doc/outdated/*.txt || die
176
	dodoc doc/outdated/*.txt
177
177
178
	# logrotate
178
	# logrotate
179
	insinto /etc/logrotate.d
179
	insinto /etc/logrotate.d

Return to bug 395941