summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2007-07-29 15:30:50 +0000
committerChristian Heim <phreak@gentoo.org>2007-07-29 15:30:50 +0000
commit04dc9d7d7c6b427c577693811c56f6c897f6dd52 (patch)
tree8552219becd6b74ce8d3a89bc7f5e4c7fa577d5c /www-apache/mod_transform/mod_transform-0.6.0.ebuild
parentMoving net-www/mod_xslt to www-apache/mod_xslt (#81244). (diff)
downloadgentoo-2-04dc9d7d7c6b427c577693811c56f6c897f6dd52.tar.gz
gentoo-2-04dc9d7d7c6b427c577693811c56f6c897f6dd52.tar.bz2
gentoo-2-04dc9d7d7c6b427c577693811c56f6c897f6dd52.zip
Moving net-www/mod_transform to www-apache/mod_transform (#81244).
(Portage version: 2.1.3_rc9)
Diffstat (limited to 'www-apache/mod_transform/mod_transform-0.6.0.ebuild')
-rw-r--r--www-apache/mod_transform/mod_transform-0.6.0.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/www-apache/mod_transform/mod_transform-0.6.0.ebuild b/www-apache/mod_transform/mod_transform-0.6.0.ebuild
new file mode 100644
index 000000000000..e74497c749a2
--- /dev/null
+++ b/www-apache/mod_transform/mod_transform-0.6.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_transform/mod_transform-0.6.0.ebuild,v 1.1 2007/07/29 15:30:50 phreak Exp $
+
+inherit apache-module
+
+KEYWORDS="amd64 ppc x86"
+
+DESCRIPTION="Filter module that allows Apache2 to do dynamic XSL transformations."
+HOMEPAGE="http://www.outoforder.cc/projects/apache/mod_transform/"
+SRC_URI="http://www.outoforder.cc/downloads/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=dev-libs/libxslt-1.1.5
+ >=dev-libs/libxml2-2.6.11"
+RDEPEND="${DEPEND}"
+
+APACHE2_MOD_CONF="10_${PN}"
+APACHE2_MOD_DEFINE="TRANSFORM"
+
+need_apache2
+
+src_compile() {
+ econf --with-apxs=${APXS2} || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ mv -f "src/.libs/libmod_transform.so" "src/.libs/${PN}.so" || die "mv failed"
+ apache2_src_install
+}