forked from tastytea/overlay
dev-lang/compilescript: New package
Package-Manager: Portage-2.3.51, Repoman-2.3.11 Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
This commit is contained in:
parent
34e01ef4f4
commit
149a7379de
12
dev-lang/compilescript/Manifest
Normal file
12
dev-lang/compilescript/Manifest
Normal file
|
@ -0,0 +1,12 @@
|
|||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
EBUILD compilescript-9999.ebuild 1181 BLAKE2B c8942357639e69d23e7a6d7d2fe9f58b5eb2a3a1b5f4fd65a9bfdbbf6fc74d0eee4f0860bd79ba045f6fc98b280b9d4955e62d9d4196645c57fa9580b6d3ca69 SHA512 fa233d624430dc99e1b4911bbfd36d88c48e96a0ff9ac181986fd4c8a2b4384ab6b6a2dcf2e6637df6fc2e642ce5a1ba1b025e9abd10af13538ab418123c75a5
|
||||
MISC metadata.xml 350 BLAKE2B d47e71ec73ca4df10f35231fd3916b1158a6413d880a2fcb8a56bb9b06caeb10005f1b8cf214b59941a324853f77a61c7f1be6a1d4fecb28a9375ce280f14872 SHA512 0e9ed6a9aca6c19565f27ffd9f67a1fed84eef982311ac243f7ccfe802e62c6e09eae19d0b1cc2d8b9601f95ba19e9f3b664ef19d62be6c184e597763d878123
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXCsdqQAKCRDPw5SX8bJu
|
||||
B4DwAPwO7BddPcm8BIby7cAW8/QE45OlUwkBZBww4WX5PDJqVAEAgAeA1cgq8FnC
|
||||
2arKtjAf9od9wsFrtZVm4BuVAOFTl3Q=
|
||||
=YhMy
|
||||
-----END PGP SIGNATURE-----
|
58
dev-lang/compilescript/compilescript-9999.ebuild
Normal file
58
dev-lang/compilescript/compilescript-9999.ebuild
Normal file
|
@ -0,0 +1,58 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
inherit git-r3
|
||||
fi
|
||||
|
||||
DESCRIPTION="Allows you to execute files from compiled languages as scripts."
|
||||
HOMEPAGE="https://schlomp.space/tastytea/compilescript"
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://schlomp.space/tastytea/compilescript.git"
|
||||
else
|
||||
SRC_URI="
|
||||
https://schlomp.space/tastytea/compilescript/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://schlomp.space/tastytea/xdgcfg/archive/0.2.2.tar.gz -> xdgcfg-0.2.2.tar.gz
|
||||
"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libconfig
|
||||
dev-libs/libxdg-basedir
|
||||
"
|
||||
DEPEND="
|
||||
dev-util/cmake
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
if [[ "${PV}" != "9999" ]]; then
|
||||
S="${WORKDIR}/${PN}"
|
||||
fi
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
sed -i "s|\${CMAKE_INSTALL_DOCDIR}|\${CMAKE_INSTALL_DATAROOTDIR}/doc/${P}|" \
|
||||
CMakeLists.txt || die "Modification of CMAKE_INSTALL_DOCDIR failed."
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use debug; then
|
||||
cmake-utils_src_compile DEBUG=1
|
||||
else
|
||||
cmake-utils_src_compile
|
||||
fi
|
||||
}
|
11
dev-lang/compilescript/metadata.xml
Normal file
11
dev-lang/compilescript/metadata.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>gentoo@tastytea.de</email>
|
||||
<name>tastytea</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://schlomp.space/tastytea/compilescript/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user