diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2009-09-18 15:58:00 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2009-09-18 15:58:00 +0000 |
commit | 98c09649e7352d039ce50515f5aad5d17d793f20 (patch) | |
tree | 3717020be554db1c9d36332d11272148a35aa0a0 /www-apache | |
parent | update homepage (diff) | |
download | gentoo-2-98c09649e7352d039ce50515f5aad5d17d793f20.tar.gz gentoo-2-98c09649e7352d039ce50515f5aad5d17d793f20.tar.bz2 gentoo-2-98c09649e7352d039ce50515f5aad5d17d793f20.zip |
initial ebuild wrt #223917
(Portage version: 2.2_rc40/cvs/Linux i686)
Diffstat (limited to 'www-apache')
-rw-r--r-- | www-apache/mod_musicindex/ChangeLog | 11 | ||||
-rw-r--r-- | www-apache/mod_musicindex/files/50_mod_musicindex.conf | 5 | ||||
-rw-r--r-- | www-apache/mod_musicindex/metadata.xml | 5 | ||||
-rw-r--r-- | www-apache/mod_musicindex/mod_musicindex-1.2.5.ebuild | 46 |
4 files changed, 67 insertions, 0 deletions
diff --git a/www-apache/mod_musicindex/ChangeLog b/www-apache/mod_musicindex/ChangeLog new file mode 100644 index 000000000000..043169bf7282 --- /dev/null +++ b/www-apache/mod_musicindex/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for www-apache/mod_musicindex +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_musicindex/ChangeLog,v 1.1 2009/09/18 15:57:59 hollow Exp $ + +*mod_musicindex-1.2.5 (18 Sep 2009) + + 18 Sep 2009; Benedikt Böhm <hollow@gentoo.org> + +files/50_mod_musicindex.conf, +mod_musicindex-1.2.5.ebuild, + +metadata.xml: + initial ebuild wrt #223917 + diff --git a/www-apache/mod_musicindex/files/50_mod_musicindex.conf b/www-apache/mod_musicindex/files/50_mod_musicindex.conf new file mode 100644 index 000000000000..1d3db0caebf5 --- /dev/null +++ b/www-apache/mod_musicindex/files/50_mod_musicindex.conf @@ -0,0 +1,5 @@ +<IfDefine MUSICINDEX> +LoadModule musicindex_module modules/mod_musicindex.so +</IfDefine> + +# vim: ts=4 filetype=apache diff --git a/www-apache/mod_musicindex/metadata.xml b/www-apache/mod_musicindex/metadata.xml new file mode 100644 index 000000000000..64a719ea1bfd --- /dev/null +++ b/www-apache/mod_musicindex/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>apache</herd> +</pkgmetadata> diff --git a/www-apache/mod_musicindex/mod_musicindex-1.2.5.ebuild b/www-apache/mod_musicindex/mod_musicindex-1.2.5.ebuild new file mode 100644 index 000000000000..65199c1fd71b --- /dev/null +++ b/www-apache/mod_musicindex/mod_musicindex-1.2.5.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_musicindex/mod_musicindex-1.2.5.ebuild,v 1.1 2009/09/18 15:57:59 hollow Exp $ + +EAPI="2" + +inherit apache-module + +DESCRIPTION="mod_musicindex allows nice displaying of directories containing music files" +HOMEPAGE="http://www.parisc-linux.org/~varenet/musicindex/" +SRC_URI="http://www.parisc-linux.org/~varenet/musicindex/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+mp3 +mp4 +flac +vorbis" + +DEPEND="mp3? ( media-libs/libmad ) + mp4? ( media-libs/libmp4v2 ) + flac? ( media-libs/flac ) + vorbis? ( media-libs/liboggz )" +RDEPEND="${DEPENDS}" + +APACHE2_MOD_CONF="50_${PN}" +APACHE2_MOD_DEFINE="MUSICINDEX" +DOCFILES="AUTHORS BUGS ChangeLog README UPGRADING" + +need_apache2 + +src_configure() { + econf \ + $(use_enable mp3) \ + $(use_enable mp4) \ + $(use_enable flac) \ + $(use_enable vorbis) \ + || die "econf failed" +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake failed" + apache-module_src_install +} |