diff options
author | Donny Davies <woodchip@gentoo.org> | 2002-11-29 10:25:20 +0000 |
---|---|---|
committer | Donny Davies <woodchip@gentoo.org> | 2002-11-29 10:25:20 +0000 |
commit | e1420382c57d23cbb336f21346ce2756293e3272 (patch) | |
tree | ac03c3f2f26582ac3efe8ecb8ff5943e778c2bd3 /net-www/mod_vdbh/mod_vdbh-1.0.2.ebuild | |
parent | fix DEPEND (diff) | |
download | historical-e1420382c57d23cbb336f21346ce2756293e3272.tar.gz historical-e1420382c57d23cbb336f21346ce2756293e3272.tar.bz2 historical-e1420382c57d23cbb336f21346ce2756293e3272.zip |
new Apache2 module
Diffstat (limited to 'net-www/mod_vdbh/mod_vdbh-1.0.2.ebuild')
-rw-r--r-- | net-www/mod_vdbh/mod_vdbh-1.0.2.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/net-www/mod_vdbh/mod_vdbh-1.0.2.ebuild b/net-www/mod_vdbh/mod_vdbh-1.0.2.ebuild new file mode 100644 index 000000000000..bf762a130db6 --- /dev/null +++ b/net-www/mod_vdbh/mod_vdbh-1.0.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/mod_vdbh/mod_vdbh-1.0.2.ebuild,v 1.1 2002/11/29 10:23:03 woodchip Exp $ + +DESCRIPTION="An Apache2 DSO for mass virtual hosting using a MySQL database" +HOMEPAGE="http://www.synthemesc.com/mod_vdbh/" + +S=${WORKDIR}/${P} +SRC_URI="http://www.synthemesc.com/downloads/${PN}/${P}.tar.gz" +DEPEND="=net-www/apache-2* =dev-db/mysql-3.23* >=sys-libs/zlib-1.1.4" +LICENSE="Apache-1.1" +KEYWORDS="~x86" +IUSE="" +SLOT="0" + +src_compile() { + apxs2 -DHAVE_STDDEF_H -I/usr/include/mysql -Wl,-lmysqlclient \ + -c ${PN}.c || die +} + +src_install() { + exeinto /usr/lib/apache2-extramodules + doexe .libs/${PN}.so + insinto /etc/apache2/conf/modules.d + doins ${FILESDIR}/21_mod_vdbh.conf + dodoc ${FILESDIR}/21_mod_vdbh.conf AUTHORS COPYING README TODO +} |