diff options
Diffstat (limited to 'www-servers/tux/tux-3.2.16.ebuild')
-rw-r--r-- | www-servers/tux/tux-3.2.16.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/www-servers/tux/tux-3.2.16.ebuild b/www-servers/tux/tux-3.2.16.ebuild new file mode 100644 index 000000000000..d69a2945b4de --- /dev/null +++ b/www-servers/tux/tux-3.2.16.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/tux/tux-3.2.16.ebuild,v 1.1 2004/08/08 19:03:31 stuart Exp $ + +DESCRIPTION="kernel level httpd" +HOMEPAGE="http://people.redhat.com/mingo/TUX-patches/" +SRC_URI="http://people.redhat.com/mingo/TUX-patches/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="doc" + +RDEPEND="dev-libs/glib + dev-libs/popt" +DEPEND="${RDEPEND} + doc? ( app-text/docbook-sgml-utils )" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i "s:-g -fomit-frame-pointer -O2:${CFLAGS}:" Makefile + use doc || echo "all:" > docs/Makefile +} + +src_compile() { + emake || die +} + +src_install() { + make install TOPDIR=${D} || die + rm -rf ${D}/etc/{rc.d,sysconfig} ${D}/var/tux + exeinto /etc/init.d ; newexe ${FILESDIR}/tux.init.d tux + insinto /etc/conf.d ; newins ${FILESDIR}/tux.conf.d tux + + dodoc NEWS SUCCESS tux.README docs/*.txt + docinto samples + dodoc samples/* demo*.c +} |