summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Markus With <olemarkus@gentoo.org>2011-04-16 12:32:46 +0000
committerOle Markus With <olemarkus@gentoo.org>2011-04-16 12:32:46 +0000
commit08b29f0a66c35d450ebc33b518ea59ae72efd1c2 (patch)
treeeeda40e4d1e3b7b15a44793bf2bd483a1f7d2b00 /dev-php/twig
parentRemoved USE="hal". Bug #362847 (diff)
downloadgentoo-2-08b29f0a66c35d450ebc33b518ea59ae72efd1c2.tar.gz
gentoo-2-08b29f0a66c35d450ebc33b518ea59ae72efd1c2.tar.bz2
gentoo-2-08b29f0a66c35d450ebc33b518ea59ae72efd1c2.zip
Added support for local channel.xml
(Portage version: 2.1.9.45/cvs/Linux x86_64)
Diffstat (limited to 'dev-php/twig')
-rw-r--r--dev-php/twig/files/channel.xml16
-rw-r--r--dev-php/twig/twig-1.0.0.ebuild4
2 files changed, 18 insertions, 2 deletions
diff --git a/dev-php/twig/files/channel.xml b/dev-php/twig/files/channel.xml
new file mode 100644
index 000000000000..2581a36cc86c
--- /dev/null
+++ b/dev-php/twig/files/channel.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<channel version="1.0" xmlns="http://pear.php.net/channel-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/channel-1.0 http://pear.php.net/dtd/channel-1.0.xsd">
+ <name>pear.twig-project.org</name>
+ <summary>Twig PEAR channel</summary>
+ <suggestedalias>twig</suggestedalias>
+ <servers>
+ <primary>
+ <rest>
+ <baseurl type="REST1.0">http://pear.twig-project.org//rest/</baseurl>
+ <baseurl type="REST1.1">http://pear.twig-project.org//rest/</baseurl>
+ <baseurl type="REST1.2">http://pear.twig-project.org//rest/</baseurl>
+ <baseurl type="REST1.3">http://pear.twig-project.org//rest/</baseurl>
+ </rest>
+ </primary>
+ </servers>
+</channel> \ No newline at end of file
diff --git a/dev-php/twig/twig-1.0.0.ebuild b/dev-php/twig/twig-1.0.0.ebuild
index abb7b2e3ca9d..806b2dde6f7a 100644
--- a/dev-php/twig/twig-1.0.0.ebuild
+++ b/dev-php/twig/twig-1.0.0.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/twig/twig-1.0.0.ebuild,v 1.1 2011/03/27 20:29:15 olemarkus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/twig/twig-1.0.0.ebuild,v 1.2 2011/04/16 12:32:46 olemarkus Exp $
EAPI="2"
-PHP_PEAR_CHANNEL="pear.twig-project.org"
+PHP_PEAR_CHANNEL="${FILESDIR}/channel.xml"
PHP_PEAR_PN="Twig"
inherit php-pear-lib-r1