add new apache mods

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2924 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2011-06-16 16:30:23 +00:00
parent 5ce5a646ba
commit eb4084b8ec
7 changed files with 160 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
DIST Colorer-take5-linux.be5.tar.bz2 2670000 RMD160 07ac0e0f9dbabf583284f2afd9c44b4edd7e5690 SHA1 db897c842bee371537475f85e155fa90011d961f SHA256 080c37c7921a4a9ed6d2130e5cf6fa7dfddefbd7a5780a259bdb9e15fef5aa28
DIST mod_highlight-0.1.0.tar.bz2 1799260 RMD160 0c734f4a52a04a310f2cd3dd9cf51c61f6852412 SHA1 b7fc0d5da66129473552bb22cbb4a4c3a210f1cc SHA256 b3ff50e6615b837d5ae9bc288a941929b83aedfc238e2a9b48ff15440a8ed570
EBUILD mod_highlight-0.1.0.ebuild 1056 RMD160 63b5b2e893ede42ff2b78cd16ca08e349d64f828 SHA1 c21e96794dca92ae549adef7e03785b58cb08051 SHA256 f75e71f1725a4c3377d536afe0f2843fe5c632f920a65a67478540425965f889

View File

@@ -0,0 +1,47 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_gnutls/mod_gnutls-0.5.9.ebuild,v 1.1 2011/05/10 16:08:57 arfrever Exp $
EAPI="3"
inherit apache-module
DESCRIPTION="mod_highlight provdes syntax highlighting as an Apache 2.0 Filter Module."
HOMEPAGE="http://www.outoforder.cc/projects/apache/mod_highlight/"
SRC_URI="http://www.outoforder.cc/downloads/${PN}/${P}.tar.bz2
mirror://sourceforge/colorer/Colorer-take5-linux.be5.tar.bz2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
APACHE2_MOD_CONF="47_${PN}"
APACHE2_MOD_DEFINE="HIGHLIGHT"
DOCFILES="NEWS NOTICE README README.ENV"
need_apache2
src_prepare() {
rm -rf colorer/*
cd colorer
unpack Colorer-take5-linux.be5.tar.bz2
cd ..
}
src_configure() {
econf --with-apxs="${APXS}"
}
src_compile() {
emake || die "emake failed"
}
src_install() {
mv -f src/.libs/libmod_highlight.so src/.libs/${PN}.so
apache-module_src_install
}