linamh/www-apache/mod_restartd/mod_restartd-1.0_pre20070808.ebuild
2007-08-10 05:16:25 +00:00

40 lines
766 B
Bash

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit apache-module versionator
MY_PV=$(replace_version_separator 2 '-')
KEYWORDS="amd64 ~sparc ~x86"
DESCRIPTION="An Apache 2.0 module for doing suid CGIs."
HOMEPAGE="http://directory.fedora.redhat.com/"
SRC_URI="ftp://mars.arge.at/fedora-ds/${PN}-${MY_PV}.tar.bz2
http://ftp.mars.arge.at/fedora-ds/${PN}-${MY_PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}-${MY_PV}"
APACHE2_MOD_DEFINE="RESTARTD"
DOCFILES="COPYING README"
need_apache2
src_compile() {
econf --with-apxs=${APXS2} \
|| die "econf failed"
emake || die "emake failed"
}
src_install() {
apache-module_src_install
}