diff options
author | 2009-03-16 20:59:16 +0000 | |
---|---|---|
committer | 2009-03-16 20:59:16 +0000 | |
commit | 0f5ec92fb75ed1c3985d8548a45db0efb21da264 (patch) | |
tree | ba3e423c362c1748f8c401039f95dafaa12964b9 /www-apps/tt-rss/tt-rss-1.3.0.ebuild | |
parent | www-apps/obsidianmusic: Update ebuild to use EAPI 2. Thanks to Cristian Ruppe... (diff) | |
download | sunrise-0f5ec92fb75ed1c3985d8548a45db0efb21da264.tar.gz sunrise-0f5ec92fb75ed1c3985d8548a45db0efb21da264.tar.bz2 sunrise-0f5ec92fb75ed1c3985d8548a45db0efb21da264.zip |
www-apps/tt-rss: Update ebuild to use EAPI 2. Thanks to Cristian Ruppert and Thomas Sachau for review
svn path=/sunrise/; revision=8096
Diffstat (limited to 'www-apps/tt-rss/tt-rss-1.3.0.ebuild')
-rw-r--r-- | www-apps/tt-rss/tt-rss-1.3.0.ebuild | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/www-apps/tt-rss/tt-rss-1.3.0.ebuild b/www-apps/tt-rss/tt-rss-1.3.0.ebuild index 688f698b5..f04e091a1 100644 --- a/www-apps/tt-rss/tt-rss-1.3.0.ebuild +++ b/www-apps/tt-rss/tt-rss-1.3.0.ebuild @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ +EAPI="2" + inherit eutils webapp depend.php depend.apache DESCRIPTION="Tiny Tiny RSS - A web-based news feed (RSS/Atom) aggregator using AJAX" @@ -12,21 +14,12 @@ LICENSE="GPL-2" KEYWORDS="~amd64" IUSE="mysql mysqli postgres" +DEPEND="dev-lang/php[mysql?,mysqli?,postgres?]" +RDEPEND="${DEPEND}" + need_httpd_cgi need_php_httpd -pkg_setup() { - local flag - local activeflags - for flag in mysql mysqli postgres; - do - use ${flag} && activeflags="${activeflags} ${flag}" - done - require_php_with_use ${activeflags} - - webapp_pkg_setup -} - src_unpack() { unpack ${A} cd "${S}" |