mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-php/PEAR-Crypt_GPG: add 1.6.9
Bump to EAPI=8 and drop the test suite, since it required PHPUnit, and PHPUnit is no longer packaged. Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST Crypt_GPG-1.6.7.tgz 343957 BLAKE2B c95346005fdd36bd97e2a0e6cd42c5a2898fb59f0a4a3d3b09bd99a409bd9c998b267ffd84ab28148e17c3f7e78e094393c3b077998b05dc2d7ddcb0ab81394b SHA512 dd629271ebbcb98df5d31313c1a6911b62964046c758e00b55377170653e9880d2edc7d0b953fd6ae441d74238c4a8e1008bf6a9195a19ff463bcc82665f14e8
|
||||
DIST Crypt_GPG-1.6.9.tgz 344282 BLAKE2B d8546a34a70e8379b8003824636b26ad289f8c906bfbbf5c90cc5655f1bda243c57ec077a497e2a69c09bd5febd65a3f2cd39b426aadbf4f13e5ba10f6ed2380 SHA512 e3493406f27f73539522fa16cdd01aa940faacc6b180228b718596c6803c6c6a6cbb68c244749da965a62d19abc50bff83210d798f9394fde8980c5d8c8cdb2d
|
||||
|
||||
40
dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.9.ebuild
Normal file
40
dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.9.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_PN="${PN/PEAR-/}"
|
||||
MY_PV="${PV/_/}"
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="PHP interface to the GNU Privacy Guard (GnuPG)"
|
||||
HOMEPAGE="https://pear.php.net/package/Crypt_GPG"
|
||||
SRC_URI="https://download.pear.php.net/package/${MY_P}.tgz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~sparc ~x86"
|
||||
|
||||
RDEPEND="app-crypt/gnupg
|
||||
dev-lang/php:*[posix(-),unicode(-)]
|
||||
dev-php/PEAR-Console_CommandLine
|
||||
dev-php/PEAR-Exception"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i "s|@bin-dir@|${EPREFIX}/usr/bin|" Crypt/GPG/Engine.php || die
|
||||
sed -i "s|@package-name@|${MY_PN}|" Crypt/GPG/PinEntry.php || die
|
||||
sed -i "s|@data-dir@|${EPREFIX}/usr/share|" Crypt/GPG/PinEntry.php || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README.md
|
||||
dobin scripts/crypt-gpg-pinentry
|
||||
|
||||
insinto "/usr/share/${MY_PN}"
|
||||
doins -r data
|
||||
|
||||
insinto /usr/share/php
|
||||
doins -r Crypt
|
||||
}
|
||||
Reference in New Issue
Block a user