Added a lot of PHP packages for the defunct volkszaehler ebuild
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
DIST marc-mabe-php-enum-4.7.1.tar.gz 15511 BLAKE2B 060f433ae4d03eb4306e9ed9fd5e7dc40f5349e4fcbce1fd3fca35000457bd7b59a4f2051c8c255038336f7df49fc384a69096238f860f878b0e7cc28953b271 SHA512 cae379e2756dcf86e61f9046d8299ba5aa4856c0b5b12bea3a0ece02c114e41caaac7a1566a3d95cb855c018f04cc63e5fb130ba09ca575cff5594265002be7a
|
||||
EBUILD marc-mabe-php-enum-4.7.1.ebuild 737 BLAKE2B 7ed6f76a37ba6c76af63707db9f65b8fe7149e8b20979e5b176d2c3385b461946a3027350ed6b73fcc8156cbd4ee9fccfc0dc612280d73e0560ef84f6596ba41 SHA512 8e94e4c1343a578aaf8b4ab6ee576f4db8aa939dca61d2a08c1174bca2247e05f1b7976cfbcd4e81b83e0f7cd70871708b6e4e08f75eeb97b4afd0f8254a2847
|
||||
MISC metadata.xml 227 BLAKE2B b8d1dcabe1e81337c328625557d5f64a45b54303cba18a8b760b839a8b990a0ad9aad750a690a0bf4edbc43a3ec1b3c6eb774565ade8450835e4ebd26a5b84db SHA512 ab0a595d3b518145114a2f66d56aec2300f4bde01ac7dbf52cc0f36a20603c5964296512a5b7d9eb40e8b84233b56c0d4cd539210bbe4574eb4bcc28e417e624
|
||||
@@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Simple and fast implementation of enumerations with native PHP"
|
||||
HOMEPAGE="https://github.com/marc-mabe/php-enum"
|
||||
SRC_URI="https://github.com/marc-mabe/php-enum/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/php-enum-${PV}"
|
||||
|
||||
LICENSE="BSD-3-Clause"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
BDEPEND="dev-php/theseer-Autoload"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/php-7.4:*
|
||||
dev-php/fedora-autoloader
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
phpab \
|
||||
--quiet \
|
||||
--output autoload.php \
|
||||
--template fedora2 \
|
||||
--basedir . \
|
||||
. \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/MabeEnum"
|
||||
doins -r *.php src src/* stubs
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<remote-id type="github">marc-mabe/php-enum</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user