dev-php/PEAR-File_Archive: new EAPI=6 revision sans php-pear-r1.eclass.

Package-Manager: portage-2.3.0
This commit is contained in:
Michael Orlitzky
2017-01-06 14:35:02 -05:00
parent de3597decd
commit eaf846858c
2 changed files with 34 additions and 18 deletions

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
MY_PN="${PN/PEAR-/}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Easily manipulate archives in PHP"
HOMEPAGE="http://pear.php.net/package/${MY_PN}"
SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="minimal"
RDEPEND="dev-lang/php[bzip2,zlib]
dev-php/PEAR-MIME_Type
dev-php/PEAR-PEAR
!minimal? (
dev-php/PEAR-Mail_Mime
dev-php/PEAR-Mail
dev-php/PEAR-Cache_Lite
)"
S="${WORKDIR}/${MY_P}"
src_install() {
dodoc README
insinto /usr/share/php
doins -r File
}

View File

@@ -1,18 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
inherit php-pear-r1
DESCRIPTION="Lets you manipulate easily the tar, gz, tgz, bz2, tbz, zip, ar (or deb) files"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="minimal"
RDEPEND="dev-lang/php[bzip2,zlib]
dev-php/PEAR-MIME_Type
!minimal? ( dev-php/PEAR-Mail_Mime
dev-php/PEAR-Mail
>=dev-php/PEAR-Cache_Lite-1.5.0 )"