Mercurial > hg > portage
diff dev-libs/ossp-uuid/ossp-uuid-1.6.2.ebuild @ 266:f85cecd684fc
just nuke php support
author | holger |
---|---|
date | Fri, 19 Nov 2010 17:45:42 +0100 |
parents | 4f80c1679ba4 |
children |
line wrap: on
line diff
--- a/dev-libs/ossp-uuid/ossp-uuid-1.6.2.ebuild Fri Nov 19 17:39:31 2010 +0100 +++ b/dev-libs/ossp-uuid/ossp-uuid-1.6.2.ebuild Fri Nov 19 17:45:42 2010 +0100 @@ -4,12 +4,7 @@ EAPI="2" -PHP_EXT_NAME="uuid" -PHP_EXT_INI="yes" -PHP_EXT_ZENDEXT="no" -PHP_VERSION="5" - -inherit eutils multilib php-ext-source-r2 depend.php +inherit eutils multilib MY_P="uuid-${PV}" @@ -19,9 +14,9 @@ LICENSE="as-is" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" -IUSE="+cxx php" +IUSE="+cxx" -DEPEND="php? ( dev-lang/php:5.3 )" +DEPEND="" RDEPEND="${DEPEND}" S="${WORKDIR}/${MY_P}" @@ -31,11 +26,6 @@ cd "${S}" epatch "${FILESDIR}/${P}-gentoo.patch" - - if use php; then - cd php - php-ext-source-r2_phpize - fi } src_compile() { @@ -52,11 +42,6 @@ $(use_with cxx) \ || die "econf failed" emake || die "emake failed" - - if use php; then - cd php - php-ext-source-r1_src_compile - fi } src_install() { @@ -64,13 +49,6 @@ dodoc AUTHORS BINDINGS ChangeLog HISTORY NEWS OVERVIEW PORTING README SEEALSO THANKS TODO USERS - if use php ; then - cd php - php-ext-source-r1_src_install - insinto /usr/share/php5 - newins uuid.php5 uuid.php - fi - mv "${D}/usr/$(get_libdir)/pkgconfig"/{,ossp-}uuid.pc mv "${D}/usr/share/man/man3"/uuid.3{,ossp} mv "${D}/usr/share/man/man3"/uuid++.3{,ossp}