parent
f84e902d0b
commit
16225131e6
Binary file not shown.
Binary file not shown.
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit golang-vcs-snapshot systemd user
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
DESCRIPTION="Generic template rendering and notifications with Consul"
|
||||
GIT_COMMIT="9a0f301"
|
||||
EGO_PN="github.com/hashicorp/${PN}"
|
||||
HOMEPAGE="https://github.com/hashicorp/consul-template"
|
||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 ISC MIT WTFPL-2"
|
||||
SLOT="0"
|
||||
# TODO: debug test failures
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="dev-lang/go"
|
||||
RDEPEND=""
|
||||
|
||||
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 -1 ${PN}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Avoid the need to have a git checkout
|
||||
sed -e "s:git rev-parse --short HEAD:echo ${GIT_COMMIT}:" \
|
||||
-e '/-s \\/d' \
|
||||
-i src/${EGO_PN}/Makefile || die
|
||||
# Printf format %q has arg r.config.PidFile of wrong type *string
|
||||
sed -e 's|remove pid at %q: %s|remove pid at %v: %s|' \
|
||||
-i src/${EGO_PN}/manager/runner.go || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export GOPATH=${S}
|
||||
cd src/${EGO_PN} || die
|
||||
#XC_ARCH=$(go env GOARCH) \
|
||||
#XC_OS=$(go env GOOS) \
|
||||
emake dev
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd src/${EGO_PN} || die
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/${PN}
|
||||
dodoc src/${EGO_PN}/{CHANGELOG.md,README.md}
|
||||
|
||||
keepdir /var/log/${PN}
|
||||
fowners ${PN}:${PN} /var/log/${PN}
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
|
||||
keepdir /etc/${PN}.d
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST grubconfig-1.28.tar.gz 11715 BLAKE2B e3b40a2f0419e2e2f106328a63a0ea5666665454485c463cf7e36d896df083599556520c832b06a35553e4398958ca0fef34a5057b3435f3cdfc6dad1eb68df2 SHA512 1a2d864dd4d20162c55c2adf728040f1498035f04d544847f7e141bb749ab0ea9e40aaf6888e151dc8a9712d937c7f5b3630b73488f6d495199ea1041b76c2cd
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Simple Tool to configure Grub-Bootloader"
|
||||
HOMEPAGE="https://web.archive.org/web/20100410042718/http://www.tux.org/pub/people/kent-robotti/looplinux"
|
||||
SRC_URI="http://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-util/dialog-0.7"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "s:/usr/lib/grub:/$(get_libdir)/grub:g" \
|
||||
grubconfig || die
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin grubconfig
|
||||
dodoc README
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>base-system@gentoo.org</email>
|
||||
<name>Gentoo Base System</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1,3 +1 @@
|
||||
DIST nerdcommenter-2.5.0.tar.gz 36834 BLAKE2B 517988392e0ac508f18819a088588d3ede50b634268109ec2c67907c663fb6713b55f45cd2562236c481dea86793ab5999a480f2be309e12cb43b5ccbb34d552 SHA512 8616f56d90dfe2fece0a82b888700c4c762c75b7d1cd30e32a3294d1fe7b65d506a13cfead534ae0f11a2384593d246a723e9a0042421691a5d6fb44969e7ead
|
||||
DIST nerdcommenter-2.5.1.tar.gz 36889 BLAKE2B 997fa853ea3b6950de864afc1bd7777a71085154dee484ad07b03e8d0da101151f5df5c4ffc4404714c95c7632ac7678e18eb0ef72d238403c708f7faed8aff2 SHA512 84638a3b216f7bc1535030eed8d766c30d5d7de7f6339fdb9bde65561abfa7f1f660cfa81dc057ee2d146af6df26076880b057a7ff7868e9bc55ab53291e9445
|
||||
DIST nerdcommenter-2.5.2.tar.gz 37216 BLAKE2B 80cd085022da15567e935aaf9d770ed6fadd949a4c8cb6cc3244bb75c76ccb81adee070336a7f4ed409e95bd88db8ce3b7259d8e2f390b71b6e0c575e02ed423 SHA512 63b43abdae35e2e5d9132a5cc1e3109a9ac7945bab58b7f2544bb0a6d390f2f503928fd17c2e82104e84454d9278f98fc581dcea8ccd08f5f1bedb2d5f112bf4
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/scrooloose/nerdcommenter.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/scrooloose/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64 x86 ~x86-linux ~x86-macos ~sparc64-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="vim plugin: easy commenting of code for many filetypes"
|
||||
HOMEPAGE="https://github.com/scrooloose/nerdcommenter https://www.vim.org/scripts/script.php?script_id=1218"
|
||||
LICENSE="WTFPL-2 "
|
||||
|
||||
VIM_PLUGIN_HELPFILES="NERD_commenter.txt"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm README.md Rakefile || die
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/scrooloose/nerdcommenter.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/scrooloose/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-linux ~x86-macos ~sparc64-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="vim plugin: easy commenting of code for many filetypes"
|
||||
HOMEPAGE="https://github.com/scrooloose/nerdcommenter https://www.vim.org/scripts/script.php?script_id=1218"
|
||||
LICENSE="WTFPL-2 "
|
||||
|
||||
VIM_PLUGIN_HELPFILES="NERD_commenter.txt"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm README.md Rakefile || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST nerdtree-5.0.0.tar.gz 56162 BLAKE2B d4451ae6968454c6281e63233db13f0c5c834eab1a69662b2850d0cfa91f7255a51cbe5113c16224a57eef86862a032607c6eb1a7cc300af169491ce40e9cebe SHA512 7de6e7978604e89e2c03cadf74ff4a57545ff73a643039fdfe76f277e773374b5b5f9bbd5d8f3307df4af867f88fc687f9bb5e28ff9e90d11fecdef8bdb83d1a
|
||||
DIST nerdtree-6.4.1.tar.gz 157828 BLAKE2B dad6ea998a158405d7c0937be42c190839d5ebf6ec5ae9342905a93eeaeefda7d68f3a69f9797efcdb54ba446d0e497f1c7aeb7db6738e0af0e3ccd326e1617b SHA512 574041237f66e0d7c4d704b866216d051a7eddd8a4842f0aa4a131d06158c82352ef6b94c171666e73a72e8812e38de4197277b51e1f6cec562f9f3c916bf66a
|
||||
DIST nerdtree-6.4.3.tar.gz 158308 BLAKE2B 49c5014f76c19ccec2a42812d70c1e4186ce0f918ca483e340679b59680d49dfe3ac5488075af9d84d5122a89f8b972f5270ae7a6c4d8756edd0c01554a341ef SHA512 ea4ba39c67817589ab0e64192ab1889f9f0b7eeb1ccb85c5d2b4141e8759ef7e6ee9822e0ea3bdcdb9a7141ffe9e70af1c3f462a06f8c76c3234f07f5750518d
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/scrooloose/nerdtree.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/scrooloose/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86 ~x64-macos"
|
||||
fi
|
||||
|
||||
DESCRIPTION="vim plugin: A tree explorer plugin for navigating the filesystem"
|
||||
HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=1658 https://github.com/scrooloose/nerdtree"
|
||||
LICENSE="WTFPL-2"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="NERD_tree"
|
||||
|
||||
src_prepare() {
|
||||
rm LICENCE screenshot.png _config.yml || die
|
||||
default
|
||||
}
|
Binary file not shown.
@ -1,5 +0,0 @@
|
||||
DIST autotools-java.tar 2770 BLAKE2B 40fde34a6b5f6be1e851c61bb933a7a35643b1d82e039c2aeb1c74e31069a5944559d6c61464c39374e3953b9059df8f079d7e734efed05ea52b190f90f7696a SHA512 a193c3c3f8cc654967905c9ab559098425f1688a75c21a4207959fbe13572b4dba3e5c21e04913f20e5aa1b1c2fd2b13dcef91cc4f031b06884ac3130edc5757
|
||||
DIST hyperdex-1.6.0.tar.gz 1490273 BLAKE2B bc8e83fa73f44695d82c2e7fb936b3cf3474947199c5925c84905893e694f9aff95eb7caa6f65303a67684a18f37acd112fb87babde6c584a1d884a88cbcfb7e SHA512 44e1c5fa1e0e2158bf3eb72dc94681f8aaf3a804ce7b2df05461c1f4c9f0e3e71ee7f0503c25ee9e00701ba9444df18ecbe427606de4ddd3b1f31d382b037272
|
||||
DIST hyperdex-1.7.1.tar.gz 1517677 BLAKE2B 45c2789736a6f609f2c327f31f1e248b05abb46d766b565f35609be1ca78f680e2cedd017336fc82c844d17034197c14230bbf07d30228001c6cd45bcd509e15 SHA512 41bf8cc49081ba41917c737facfa7b5e29bcf73f510ae5743356828643bd7292ac8c610915985e52f6609c4a80cf70e7d515504bbe0a85383c74d7e288f2dc5b
|
||||
DIST hyperdex-1.8.0.tar.gz 1516389 BLAKE2B 7636349a3d81cc2592fed5d6db7c7bbaacdc0d1f6e4cb4965f111fe04ef8232337d6f1f4ce5a4d335daaab58e4171073fff079afd1822d8d57aadd6927c7da58 SHA512 e667552f16899edf57a08f3704e762e33b33aa9508ee486187b5c6fd6f01ab9cb61cd65444a676386554cebb2e4d191b4181df4c9b399821e5d244791bf3cb12
|
||||
DIST hyperdex-1.8.1.tar.gz 1516446 BLAKE2B aa2e011b8fdda57d73662164dac30984b3b633dc27bdbd70e415859386559cc41874ff6da0faabac4c28518455464fb960f285f50fd8e76cb9f40e938c9e328c SHA512 28a9b1a1f99d4159fb2d453fb7f740d4926ac2275488c8676a70d45879be5b1ef9b1e84720f86ef4f058706558899f2e3229fc7140349dadc3974754a03ac13e
|
@ -1,4 +0,0 @@
|
||||
# /etc/conf.d/hyperdex: config file for /etc/init.d/hyperdex
|
||||
|
||||
# see documentation for HyperDex for help
|
||||
#HYPERDEX_OPTS=""
|
@ -1,10 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
command="/usr/bin/hyperdex-daemon"
|
||||
command_args="--daemon ${HYPERDEX_OPTS}"
|
||||
|
||||
depend() {
|
||||
use net
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils python-single-r1 autotools
|
||||
|
||||
DESCRIPTION="A searchable distributed Key-Value Store"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz
|
||||
http://dev.gentooexperimental.org/~patrick/autotools-java.tar"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="test +python"
|
||||
# need to add ruby and java useflags too
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) test? ( python )"
|
||||
|
||||
# Tests fail, still
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
dev-cpp/glog
|
||||
dev-cpp/sparsehash
|
||||
dev-libs/cityhash
|
||||
dev-libs/libpo6
|
||||
dev-libs/libe
|
||||
dev-libs/busybee
|
||||
dev-libs/popt
|
||||
dev-libs/replicant
|
||||
dev-libs/libmacaroons
|
||||
dev-libs/libtreadstone
|
||||
dev-libs/json-c:=
|
||||
python? ( ${PYTHON_DEPS} )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cp "${WORKDIR}/"*.m4 m4/
|
||||
sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --disable-static \
|
||||
$(use_enable python python-bindings)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
newinitd "${FILESDIR}/hyperdex.initd" hyperdex
|
||||
newconfd "${FILESDIR}/hyperdex.confd" hyperdex
|
||||
find "${D}" -name '*.la' -exec rm {} \; # bad buildsystem! bad!
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils python-single-r1 autotools
|
||||
|
||||
DESCRIPTION="A searchable distributed Key-Value Store"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz
|
||||
http://dev.gentooexperimental.org/~patrick/autotools-java.tar"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="test +python"
|
||||
# need to add ruby and java useflags too
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) test? ( python )"
|
||||
|
||||
# Tests fail, still
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
dev-cpp/glog
|
||||
dev-cpp/sparsehash
|
||||
dev-libs/cityhash
|
||||
dev-libs/libpo6
|
||||
dev-libs/libe
|
||||
dev-libs/busybee
|
||||
dev-libs/popt
|
||||
dev-libs/replicant
|
||||
dev-libs/libmacaroons
|
||||
dev-libs/libtreadstone
|
||||
dev-libs/json-c:=
|
||||
python? ( ${PYTHON_DEPS} )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cp "${WORKDIR}/"*.m4 m4/
|
||||
sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --disable-static \
|
||||
$(use_enable python python-bindings)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
newinitd "${FILESDIR}/hyperdex.initd" hyperdex
|
||||
newconfd "${FILESDIR}/hyperdex.confd" hyperdex
|
||||
find "${D}" -name '*.la' -exec rm {} \; # bad buildsystem! bad!
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils python-single-r1 autotools
|
||||
|
||||
DESCRIPTION="A searchable distributed Key-Value Store"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz
|
||||
http://dev.gentooexperimental.org/~patrick/autotools-java.tar"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="test +python"
|
||||
# need to add ruby and java useflags too
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) test? ( python )"
|
||||
|
||||
# Tests fail, still
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
dev-cpp/glog
|
||||
dev-cpp/sparsehash
|
||||
dev-libs/cityhash
|
||||
>=dev-libs/hyperleveldb-1.2
|
||||
>=dev-libs/libpo6-0.8
|
||||
>=dev-libs/libe-0.11
|
||||
>=dev-libs/busybee-0.7
|
||||
dev-libs/popt
|
||||
>=dev-libs/replicant-0.8
|
||||
>=dev-libs/libmacaroons-0.3
|
||||
>=dev-libs/libtreadstone-0.2
|
||||
dev-libs/json-c:=
|
||||
python? ( ${PYTHON_DEPS} )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cp "${WORKDIR}/"*.m4 m4/
|
||||
sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --disable-static \
|
||||
$(use_enable python python-bindings)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
newinitd "${FILESDIR}/hyperdex.initd" hyperdex
|
||||
newconfd "${FILESDIR}/hyperdex.confd" hyperdex
|
||||
find "${D}" -name '*.la' -exec rm {} \; # bad buildsystem! bad!
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 check
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils python-single-r1 autotools
|
||||
|
||||
DESCRIPTION="A searchable distributed Key-Value Store"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz
|
||||
http://dev.gentooexperimental.org/~patrick/autotools-java.tar"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="test +python"
|
||||
# need to add ruby and java useflags too
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) test? ( python )"
|
||||
|
||||
# Tests fail, still
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
dev-cpp/glog
|
||||
dev-cpp/sparsehash
|
||||
dev-libs/cityhash
|
||||
>=dev-libs/hyperleveldb-1.2
|
||||
>=dev-libs/libpo6-0.8
|
||||
>=dev-libs/libe-0.11
|
||||
>=dev-libs/busybee-0.7
|
||||
dev-libs/popt
|
||||
>=dev-libs/replicant-0.8
|
||||
>=dev-libs/libmacaroons-0.3
|
||||
>=dev-libs/libtreadstone-0.2
|
||||
dev-libs/json-c:=
|
||||
python? ( ${PYTHON_DEPS} )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cp "${WORKDIR}/"*.m4 m4/
|
||||
sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --disable-static \
|
||||
$(use_enable python python-bindings)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
newinitd "${FILESDIR}/hyperdex.initd" hyperdex
|
||||
newconfd "${FILESDIR}/hyperdex.confd" hyperdex
|
||||
find "${D}" -name '*.la' -exec rm {} \; # bad buildsystem! bad!
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 check
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils python-r1 autotools git-r3
|
||||
|
||||
DESCRIPTION="A searchable distributed Key-Value Store"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
|
||||
EGIT_REPO_URI="https://github.com/rescrv/HyperDex.git"
|
||||
|
||||
SRC_URI="http://dev.gentooexperimental.org/~patrick/autotools-java.tar"
|
||||
|
||||
IUSE="+python"
|
||||
# need to add ruby and java useflags too
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
DEPEND="
|
||||
dev-cpp/glog
|
||||
dev-cpp/sparsehash
|
||||
dev-libs/cityhash
|
||||
dev-libs/libpo6
|
||||
dev-libs/libe
|
||||
dev-libs/busybee
|
||||
dev-libs/popt
|
||||
dev-libs/replicant
|
||||
dev-libs/json-c:=
|
||||
python? ( ${PYTHON_DEPS} )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cd m4; tar xf "${DISTDIR}/autotools-java.tar"
|
||||
cd ..
|
||||
sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --disable-static \
|
||||
$(use_enable python python-bindings)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
newinitd "${FILESDIR}/hyperdex.initd" hyperdex
|
||||
newconfd "${FILESDIR}/hyperdex.confd" hyperdex
|
||||
find "${D}" -name '*.la' -exec rm {} \; # bad buildsystem! bad!
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>patrick@gentoo.org</email>
|
||||
<name>Patrick Lauer</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -0,0 +1,144 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit eutils java-pkg-2
|
||||
|
||||
L_PN="sbt-launch"
|
||||
L_P="${L_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="sbt is a build tool for Scala and Java projects that aims to do the basics well"
|
||||
HOMEPAGE="https://www.scala-sbt.org/"
|
||||
EGIT_COMMIT="v${PV}"
|
||||
EGIT_REPO_URI="https://github.com/sbt/sbt.git"
|
||||
SRC_URI="
|
||||
!binary? (
|
||||
https://github.com/sbt/sbt/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://dev.gentoo.org/~gienah/snapshots/${P}-ivy2-deps.tar.xz
|
||||
https://dev.gentoo.org/~gienah/snapshots/${P}-sbt-deps.tar.xz
|
||||
http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/${L_PN}/${PV}/${L_PN}.jar -> ${L_P}.jar
|
||||
)
|
||||
binary? (
|
||||
https://dev.gentoo.org/~gienah/files/dist/${P}-gentoo-binary.tar.xz
|
||||
)"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="binary"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8:*
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8:*
|
||||
"
|
||||
|
||||
# test hangs or fails
|
||||
RESTRICT="test"
|
||||
|
||||
# Note: to bump sbt, some things to try are:
|
||||
# 1. remove the https://dev.gentoo.org/~gienah/snapshots/${P}-ivy2-deps.tar.xz
|
||||
# https://dev.gentoo.org/~gienah/snapshots/${P}-sbt-deps.tar.xz and
|
||||
# binary? ( https://dev.gentoo.org/~gienah/files/dist/${P}-gentoo-binary.tar.xz )
|
||||
# from SRC_URI
|
||||
# 2. Comment the sbt publishLocal line in src_compile.
|
||||
# 3. try:
|
||||
# FEATURES='noclean -test' emerge -v -1 dev-java/sbt
|
||||
# It should fail in src_install since the sbt publishLocal is not done.
|
||||
# Check if it downloads more stuff in
|
||||
# src_compile to ${WORKDIR}/.ivy2 and ${WORKDIR}/.sbt.
|
||||
# 4. If some of the downloads fail, it might be necessary to run the sbt compile
|
||||
# again manually to obtain all the dependencies, if so:
|
||||
# cd to ${S}
|
||||
# export EROOT=/
|
||||
# export WORKDIR='/var/tmp/portage/dev-java/${P}/work'
|
||||
# export L_P=${P}
|
||||
# export PATH="${WORKDIR}/${L_P}:${PATH}"
|
||||
# sbt compile
|
||||
# cd ${WORKDIR}
|
||||
# find .ivy2 .sbt -uid 0 -exec chown portage:portage {} \;
|
||||
# 5. cd ${WORKDIR}
|
||||
# XZ_OPT=-9 tar --owner=portage --group=portage \
|
||||
# -cJf /usr/portage/distfiles/${P}-ivy2-deps.tar.xz .ivy2/cache
|
||||
# XZ_OPT=-9 tar --owner=portage --group=portage \
|
||||
# -cJf /usr/portage/distfiles/${P}-sbt-deps.tar.xz .sbt
|
||||
# Uncomment the sbt publishLocal line in src_compile.
|
||||
# 6. It *might* download more dependencies for src_test, however the presence
|
||||
# of some of these may cause the src_compile to fail. So download them
|
||||
# seperately as root so we can identify the
|
||||
# additional files. As root:
|
||||
# cd ${S}
|
||||
# ${S}/${P} test
|
||||
# cd ${WORKDIR}
|
||||
# XZ_OPT=-9 tar --owner=portage --group=portage \
|
||||
# -cJf /usr/portage/distfiles/${P}-test-deps.tar.xz \
|
||||
# $(find .ivy2/cache .sbt -uid 0 -type f -print)
|
||||
# Note: It might not download anything in src_test, in which case
|
||||
# ${P}-test-deps.tar.xz is not required.
|
||||
# 7. Create the binary
|
||||
# cd $WORDKIR
|
||||
# XZ_OPT=-9 tar --owner=portage --group=portage \
|
||||
# -cJf /usr/portage/distfiles/${P}-gentoo-binary.tar.xz ${P} .ivy2/local
|
||||
# 9. Undo the earlier temporary edits to the ebuild.
|
||||
|
||||
src_unpack() {
|
||||
# Unpack tar files only.
|
||||
for f in ${A} ; do
|
||||
[[ ${f} == *".tar."* ]] && unpack ${f}
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if ! use binary; then
|
||||
mkdir "${WORKDIR}/${L_P}" || die
|
||||
cp -p "${DISTDIR}/${L_P}.jar" "${WORKDIR}/${L_P}/${L_PN}.jar" || die
|
||||
cat <<- EOF > "${WORKDIR}/${L_P}/sbt"
|
||||
#!/bin/sh
|
||||
SBT_OPTS="-Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled"
|
||||
java -Djavac.args="-encoding UTF-8" -Duser.home="${WORKDIR}" \${SBT_OPTS} -jar "${WORKDIR}/${L_P}/sbt-launch.jar" "\$@"
|
||||
EOF
|
||||
cat <<- EOF > "${S}/${P}"
|
||||
#!/bin/sh
|
||||
SBT_OPTS="-Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled"
|
||||
java -Djavac.args="-encoding UTF-8" -Duser.home="${WORKDIR}" \${SBT_OPTS} -jar "${S}/launch/target/sbt-launch.jar" "\$@"
|
||||
EOF
|
||||
chmod u+x "${WORKDIR}/${L_P}/sbt" "${S}/${P}" || die
|
||||
|
||||
# suppress this warning in build.log:
|
||||
# [warn] Credentials file /var/tmp/portage/dev-java/${P}/work/.bintray/.credentials does not exist
|
||||
mkdir -p "${WORKDIR}/.bintray" || die
|
||||
cat <<- EOF > "${WORKDIR}/.bintray/.credentials"
|
||||
realm = Bintray API Realm
|
||||
host = api.bintray.com
|
||||
user =
|
||||
password =
|
||||
EOF
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if ! use binary; then
|
||||
einfo "=== sbt compile ..."
|
||||
"${WORKDIR}/${L_P}/sbt" -Dsbt.log.noformat=true compile || die
|
||||
einfo "=== sbt publishLocal with jdk $(java-pkg_get-vm-version) ..."
|
||||
cat <<- EOF | "${WORKDIR}/${L_P}/sbt" -Dsbt.log.noformat=true || die
|
||||
set every javaVersionPrefix in javaVersionCheck := Some("$(java-pkg_get-vm-version)")
|
||||
publishLocal
|
||||
EOF
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${S}/${P}" -Dsbt.log.noformat=true test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Place sbt-launch.jar at the end of the CLASSPATH
|
||||
java-pkg_dojar $(find "${WORKDIR}"/.ivy2/local -name \*.jar -print | grep -v sbt-launch.jar) \
|
||||
$(find "${WORKDIR}"/.ivy2/local -name sbt-launch.jar -print)
|
||||
local ja="-Dsbt.version=${PV} -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled"
|
||||
java-pkg_dolauncher sbt --jar sbt-launch.jar --java_args "${ja}"
|
||||
}
|
Binary file not shown.
@ -1,153 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
inherit elisp-common java-pkg-opt-2 systemd wxwidgets
|
||||
|
||||
# NOTE: If you need symlinks for binaries please tell maintainers or
|
||||
# open up a bug to let it be created.
|
||||
|
||||
UPSTREAM_V="$(ver_cut 1-2)"
|
||||
|
||||
DESCRIPTION="Erlang programming language, runtime environment and libraries (OTP)"
|
||||
HOMEPAGE="https://www.erlang.org/"
|
||||
SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz
|
||||
http://erlang.org/download/otp_doc_man_${UPSTREAM_V}.tar.gz -> ${PN}_doc_man_${UPSTREAM_V}.tar.gz
|
||||
doc? ( http://erlang.org/download/otp_doc_html_${UPSTREAM_V}.tar.gz -> ${PN}_doc_html_${UPSTREAM_V}.tar.gz )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
# We use this subslot because Compiled HiPE Code can be loaded on the exact
|
||||
# same build of ERTS that was used when compiling the code. See
|
||||
# http://erlang.org/doc/system_principles/misc.html for more information.
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
|
||||
IUSE="doc emacs +hipe java +kpoll libressl odbc sctp ssl systemd tk wxwidgets"
|
||||
|
||||
RDEPEND="
|
||||
acct-group/epmd
|
||||
acct-user/epmd
|
||||
sys-libs/ncurses:0
|
||||
sys-libs/zlib
|
||||
emacs? ( >=app-editors/emacs-23.1:* )
|
||||
java? ( >=virtual/jdk-1.8:* )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
sctp? ( net-misc/lksctp-tools )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.7d:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
systemd? ( sys-apps/systemd )
|
||||
tk? ( dev-lang/tk:0 )
|
||||
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
"
|
||||
|
||||
S="${WORKDIR}/otp-OTP-${PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/18.2.1-wx3.0.patch"
|
||||
"${FILESDIR}/${PN}-22.0-dont-ignore-LDFLAGS.patch"
|
||||
)
|
||||
|
||||
SITEFILE=50"${PN}"-gentoo.el
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
./otp_build autoconf || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use wxwidgets && setup-wxwidgets
|
||||
|
||||
local myconf=(
|
||||
--disable-builtin-zlib
|
||||
$(use_enable hipe)
|
||||
$(use_enable kpoll kernel-poll)
|
||||
$(use_with java javac)
|
||||
$(use_enable sctp)
|
||||
$(use_with ssl ssl "${EPREFIX}"/usr)
|
||||
$(use_enable ssl dynamic-ssl-lib)
|
||||
$(use_enable systemd)
|
||||
$(usex wxwidgets "--with-wx-config=${WX_CONFIG}" "--with-wxdir=/dev/null")
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use emacs ; then
|
||||
pushd lib/tools/emacs &>/dev/null || die
|
||||
elisp-compile *.el
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
extract_version() {
|
||||
local path="$1"
|
||||
local var_name="$2"
|
||||
sed -n -e "/^${var_name} = \(.*\)$/s::\1:p" "${S}/${path}/vsn.mk" || die "extract_version() failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local erl_libdir_rel="$(get_libdir)/erlang"
|
||||
local erl_libdir="/usr/${erl_libdir_rel}"
|
||||
local erl_interface_ver="$(extract_version lib/erl_interface EI_VSN)"
|
||||
local erl_erts_ver="$(extract_version erts VSN)"
|
||||
local my_manpath="/usr/share/${PN}/man"
|
||||
|
||||
[[ -z "${erl_erts_ver}" ]] && die "Couldn't determine erts version"
|
||||
[[ -z "${erl_interface_ver}" ]] && die "Couldn't determine interface version"
|
||||
|
||||
emake INSTALL_PREFIX="${D}" install
|
||||
|
||||
if use doc ; then
|
||||
local DOCS=( "AUTHORS" "HOWTO"/* "README.md" "CONTRIBUTING.md" "${WORKDIR}"/doc/. "${WORKDIR}"/lib/. "${WORKDIR}"/erts-* )
|
||||
docompress -x /usr/share/doc/${PF}
|
||||
else
|
||||
local DOCS=("README.md")
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
|
||||
dosym "../${erl_libdir_rel}/bin/erl" /usr/bin/erl
|
||||
dosym "../${erl_libdir_rel}/bin/erlc" /usr/bin/erlc
|
||||
dosym "../${erl_libdir_rel}/bin/escript" /usr/bin/escript
|
||||
dosym "../${erl_libdir_rel}/lib/erl_interface-${erl_interface_ver}/bin/erl_call" /usr/bin/erl_call
|
||||
dosym "../${erl_libdir_rel}/erts-${erl_erts_ver}/bin/beam.smp" /usr/bin/beam.smp
|
||||
|
||||
## Clean up the no longer needed files
|
||||
rm "${ED}/${erl_libdir}/Install" || die
|
||||
|
||||
insinto "${my_manpath}"
|
||||
doins -r "${WORKDIR}"/man/*
|
||||
# extend MANPATH, so the normal man command can find it
|
||||
# see bug 189639
|
||||
newenvd - "90erlang" <<-_EOF_
|
||||
MANPATH="${my_manpath}"
|
||||
_EOF_
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install erlang lib/tools/emacs/*.{el,elc}
|
||||
sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
|
||||
"${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die
|
||||
elisp-site-file-install "${T}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/epmd.init-r2 epmd
|
||||
newconfd "${FILESDIR}"/epmd.confd-r1 epmd
|
||||
use systemd && systemd_newunit "${FILESDIR}"/epmd.service-r1 epmd.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,153 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
inherit elisp-common java-pkg-opt-2 systemd wxwidgets
|
||||
|
||||
# NOTE: If you need symlinks for binaries please tell maintainers or
|
||||
# open up a bug to let it be created.
|
||||
|
||||
UPSTREAM_V="$(ver_cut 1-2)"
|
||||
|
||||
DESCRIPTION="Erlang programming language, runtime environment and libraries (OTP)"
|
||||
HOMEPAGE="https://www.erlang.org/"
|
||||
SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz
|
||||
http://erlang.org/download/otp_doc_man_${UPSTREAM_V}.tar.gz -> ${PN}_doc_man_${UPSTREAM_V}.tar.gz
|
||||
doc? ( http://erlang.org/download/otp_doc_html_${UPSTREAM_V}.tar.gz -> ${PN}_doc_html_${UPSTREAM_V}.tar.gz )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
# We use this subslot because Compiled HiPE Code can be loaded on the exact
|
||||
# same build of ERTS that was used when compiling the code. See
|
||||
# http://erlang.org/doc/system_principles/misc.html for more information.
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
|
||||
IUSE="doc emacs +hipe java +kpoll libressl odbc sctp ssl systemd tk wxwidgets"
|
||||
|
||||
RDEPEND="
|
||||
acct-group/epmd
|
||||
acct-user/epmd
|
||||
sys-libs/ncurses:0
|
||||
sys-libs/zlib
|
||||
emacs? ( >=app-editors/emacs-23.1:* )
|
||||
java? ( >=virtual/jdk-1.8:* )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
sctp? ( net-misc/lksctp-tools )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.7d:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
systemd? ( sys-apps/systemd )
|
||||
tk? ( dev-lang/tk:0 )
|
||||
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
"
|
||||
|
||||
S="${WORKDIR}/otp-OTP-${PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/18.2.1-wx3.0.patch"
|
||||
"${FILESDIR}/${PN}-22.0-dont-ignore-LDFLAGS.patch"
|
||||
)
|
||||
|
||||
SITEFILE=50"${PN}"-gentoo.el
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
./otp_build autoconf || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use wxwidgets && setup-wxwidgets
|
||||
|
||||
local myconf=(
|
||||
--disable-builtin-zlib
|
||||
$(use_enable hipe)
|
||||
$(use_enable kpoll kernel-poll)
|
||||
$(use_with java javac)
|
||||
$(use_enable sctp)
|
||||
$(use_with ssl ssl "${EPREFIX}"/usr)
|
||||
$(use_enable ssl dynamic-ssl-lib)
|
||||
$(use_enable systemd)
|
||||
$(usex wxwidgets "--with-wx-config=${WX_CONFIG}" "--with-wxdir=/dev/null")
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use emacs ; then
|
||||
pushd lib/tools/emacs &>/dev/null || die
|
||||
elisp-compile *.el
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
extract_version() {
|
||||
local path="$1"
|
||||
local var_name="$2"
|
||||
sed -n -e "/^${var_name} = \(.*\)$/s::\1:p" "${S}/${path}/vsn.mk" || die "extract_version() failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local erl_libdir_rel="$(get_libdir)/erlang"
|
||||
local erl_libdir="/usr/${erl_libdir_rel}"
|
||||
local erl_interface_ver="$(extract_version lib/erl_interface EI_VSN)"
|
||||
local erl_erts_ver="$(extract_version erts VSN)"
|
||||
local my_manpath="/usr/share/${PN}/man"
|
||||
|
||||
[[ -z "${erl_erts_ver}" ]] && die "Couldn't determine erts version"
|
||||
[[ -z "${erl_interface_ver}" ]] && die "Couldn't determine interface version"
|
||||
|
||||
emake INSTALL_PREFIX="${D}" install
|
||||
|
||||
if use doc ; then
|
||||
local DOCS=( "AUTHORS" "HOWTO"/* "README.md" "CONTRIBUTING.md" "${WORKDIR}"/doc/. "${WORKDIR}"/lib/. "${WORKDIR}"/erts-* )
|
||||
docompress -x /usr/share/doc/${PF}
|
||||
else
|
||||
local DOCS=("README.md")
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
|
||||
dosym "../${erl_libdir_rel}/bin/erl" /usr/bin/erl
|
||||
dosym "../${erl_libdir_rel}/bin/erlc" /usr/bin/erlc
|
||||
dosym "../${erl_libdir_rel}/bin/escript" /usr/bin/escript
|
||||
dosym "../${erl_libdir_rel}/lib/erl_interface-${erl_interface_ver}/bin/erl_call" /usr/bin/erl_call
|
||||
dosym "../${erl_libdir_rel}/erts-${erl_erts_ver}/bin/beam.smp" /usr/bin/beam.smp
|
||||
|
||||
## Clean up the no longer needed files
|
||||
rm "${ED}/${erl_libdir}/Install" || die
|
||||
|
||||
insinto "${my_manpath}"
|
||||
doins -r "${WORKDIR}"/man/*
|
||||
# extend MANPATH, so the normal man command can find it
|
||||
# see bug 189639
|
||||
newenvd - "90erlang" <<-_EOF_
|
||||
MANPATH="${my_manpath}"
|
||||
_EOF_
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install erlang lib/tools/emacs/*.{el,elc}
|
||||
sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
|
||||
"${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die
|
||||
elisp-site-file-install "${T}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/epmd.init-r2 epmd
|
||||
newconfd "${FILESDIR}"/epmd.confd-r1 epmd
|
||||
use systemd && systemd_newunit "${FILESDIR}"/epmd.service-r1 epmd.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
https://github.com/erlang/otp/pull/2503
|
||||
|
||||
From 9fad0c9b71808458e857cbd3871cf80f46a75af1 Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Trofimovich <slyfox@gentoo.org>
|
||||
Date: Tue, 14 Jan 2020 23:15:01 +0000
|
||||
Subject: [PATCH] ei_portio.h: avoid ODR violation of
|
||||
'ei_default_socket_callbacks'
|
||||
|
||||
Noticed as a build failure against fresh gcc-master:
|
||||
|
||||
```
|
||||
LD otp/lib/erl_interface/bin/x86_64-unknown-linux-gnu/erl_call
|
||||
ld: otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(eirecv.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: multiple definition of `ei_default_socket_callbacks'; otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(ei_connect.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: first defined here
|
||||
ld: otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(send.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: multiple definition of `ei_default_socket_callbacks'; otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(ei_connect.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: first defined here
|
||||
ld: otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(send_reg.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: multiple definition of `ei_default_socket_callbacks'; otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(ei_connect.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: first defined here
|
||||
ld: otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(epmd_port.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: multiple definition of `ei_default_socket_callbacks'; otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(ei_connect.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: first defined here
|
||||
ld: otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(ei_portio.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: multiple definition of `ei_default_socket_callbacks'; otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(ei_connect.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: first defined here
|
||||
collect2: error: ld returned 1 exit status
|
||||
make[3]: *** [x86_64-unknown-linux-gnu/Makefile:669: otp/lib/erl_interface/bin/x86_64-unknown-linux-gnu/erl_call] Error 1
|
||||
```
|
||||
|
||||
The failure looks legitimate: `ei_default_socket_callbacks` is a
|
||||
struct defined in 'ei_portio.h' and in 'ei_portio.c'.
|
||||
|
||||
The change flips 'ei_portio.h' definition to declaration.
|
||||
|
||||
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
||||
---
|
||||
lib/erl_interface/src/misc/ei_portio.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/lib/erl_interface/src/misc/ei_portio.h
|
||||
+++ b/lib/erl_interface/src/misc/ei_portio.h
|
||||
@@ -47,7 +47,7 @@ int ei_writev_fill_ctx_t__(ei_socket_callbacks *cbs, void *ctx, const struct iov
|
||||
int ei_socket_callbacks_have_writev__(ei_socket_callbacks *cbs);
|
||||
#endif
|
||||
|
||||
-ei_socket_callbacks ei_default_socket_callbacks;
|
||||
+extern ei_socket_callbacks ei_default_socket_callbacks;
|
||||
|
||||
#define EI_FD_AS_CTX__(FD) \
|
||||
((void *) (long) (FD))
|
||||
--
|
||||
2.25.0
|
||||
|
@ -1,12 +0,0 @@
|
||||
DIST opendylan-2011.1-x86-linux.tar.bz2 31908698 BLAKE2B 8373c5cd88ddf44ae754c537427b308a0a6e639b07c883f8d357a62b1f8635cd99328d3abdc71b79f7af0271248db768c385bc7cecc3c686e0e5d6fbee9f8b6d SHA512 345d97d71e34fd7cd923c9f53b65cb33d7edab4f2d946fd7cf9430df63cafc361ff854d444edde9d40c94bc16a3899979a34346a9ca60b9fd20e2745ff27a33b
|
||||
DIST opendylan-2011.1-x86_64-linux.tar.bz2 36493244 BLAKE2B 669e874649dcb664ae064dc2079856f1670507599af9738653c46a68d72be9aff9541f5a20dac1450bfebae928d9560c64de6a5c15d98d87a70b7842a2d3e611 SHA512 4241df29a762c73262ab7856aa2e7dc1b302719cf96de3a5d4878e5d7c5e15308d89b5c82d6379fb48b6badad03027427c013f27c690b6d8a372628ce81cda91
|
||||
DIST opendylan-2012.1-x86-linux.tar.bz2 32874377 BLAKE2B 52b1b0ec84e1fd4918b0ae9058bee23511b66ddc267f927f989127a0a0c37ee79bebcd7f817cc7f4fd06e986f5c3bbd61a78198173f08409b91c8c39d61ecd36 SHA512 3ba1744e3dc62ab8ede681f7317ebfb3ec80bb35dd10f8c0f24fe2f77abb86157a939a69f7585a88f82233563388014cc2a686d8e2cd15c73d314d496356cb69
|
||||
DIST opendylan-2012.1-x86_64-linux.tar.bz2 47535071 BLAKE2B f9806113e117cf544456001ea9e69e382d59131c555cab662c78c5a2a1bb786997633da7a2067f505c8ea964da0efc49344b3cdbbd52f80821255dde5d8da156 SHA512 53b36b9ec1eff40bb9572f8a9118d18ba6674798c053678abf326d947a9e8d5dc51e2d89e9fa9dc58dd61f0c83e5d3cab4acec2af2968edbe196b8c7fe9599dc
|
||||
DIST opendylan-2013.1-x86-linux.tar.bz2 32974920 BLAKE2B 18c2d3a4aee44ea943c15a622eca21103ca235133437037dd5cef8a05457095ea70b3121f83145fd96b91ff0bfcb177efb9cc4865559c743eeeb5efb25d32fe6 SHA512 a3b78c2c78cb0fe73a7a7d3bf13c28d9a44d451ace6c5fc9c18e67a1ed04afbb1dab1a2679279bec4fe4de7d68afc6e8fba051de5b9f26b472ee42393ed1547d
|
||||
DIST opendylan-2013.1-x86_64-linux.tar.bz2 47675706 BLAKE2B 990cf5b240393204c82f52997359e32446729be67f0d4342e630fdcd1c7f768990476fec83fd79dc48b20d84baff606bf3d8028ed8025740f80032280f892f32 SHA512 f60dc7ee49f382375843d5887956541362461350acbd75f2e3af82887ef1bc2a5373f8db5cf0838aa627223036eb36558d3484b03f7128abbab030fc3cc717f5
|
||||
DIST opendylan-2013.2-x86-linux.tar.bz2 32953359 BLAKE2B c482cbf7498120b789e7216ca682d6d60d5a0c74746fffe5a27b59d9d51b877960e7658d7e8d3af7ba4128573b645ba901e9de1a45c76f29985a86a6fff0bb8d SHA512 e54ac273e6ca257df260efea9b680a99b53c01521b01afc6612902becc3e5a119dd3b0872124c098444d1a00ae1b436f186999ef04bf4efca484ebd9c70be346
|
||||
DIST opendylan-2013.2-x86_64-linux.tar.bz2 48471480 BLAKE2B 49dd5cd1f8e0756031933aaf595ca0b7a2525e58cd67952ddaf50ef9ae83e971655479fea3e47f5c10ba610253b8945b6f0e25219dbeff05d27687881d07559c SHA512 cac4205e47bee41dfa99cf059897025a60942fb0e73c970f26fffba7c77ceebcd789e0acb110ad636d6b8ebac947632e9d28e8d0887e4d4b7be2bc2791c1eeac
|
||||
DIST opendylan-2014.1-x86-linux.tar.bz2 42086000 BLAKE2B 7c56962867348f8ec4de74bf37a52ebe0dd0b7aaab242217e660599667b5fbb498e83b14b21dec2622c1dbc7437edb434105105127da37e63917fce17d3a1829 SHA512 8411db8cf56b6b4dad11d29ab49f3d9d21d93b05af2c45a5fee0cea1a56eb471b40cb6cbd622f1db995284c499a1c5a5b7d509e31ae6f4f4afe1595a2f4aab79
|
||||
DIST opendylan-2014.1-x86_64-linux.tar.bz2 49625384 BLAKE2B a2fdf67efe41c0f91e071b83bb03c214bb596cba1e051a4014677c822f9d34a4d3efea21c3e8cb230b065c75e8ae040e157f5d1ecc48a0531fb152852ed6948d SHA512 4d88ab8c6916e82465d846b32a86da0ec654d40a2a1310a7b05897d9bfa325c839713f46f62081b968793b3713a61cb74158c405cb724fa5fdf4c97596e1c6bf
|
||||
DIST opendylan-2019.1-x86-linux.tar.bz2 48674460 BLAKE2B 24bb8a47c36fb55972a72c49acca74808dd9091eca9cf6dd2c0a2f3e650dc4f52d323b38f1bb064830b90859b130425a9369fd5791b6f1dd8e3b2123103331c1 SHA512 74338f8f5eb7ad886624ce206fc30689e087aa3620b724af0ef34be006f937c9228ea4cdf86b0b96b496f6506d07e90ae7d3429b01c7c9e1a80bd1118edfc437
|
||||
DIST opendylan-2019.1-x86_64-linux.tar.bz2 66704263 BLAKE2B 062c8ebec898594cbb8e446b30a5b1b37541c5a4e193f0f7afe7c73b90ac5c35a58dd4caa407f22708a0d2fd39ecf5ebd50a0eaf519b842997a524b15f7ee7f5 SHA512 172ad77c3e6f4e2248c9c27e28a7d9769578ab65c42af0228eaec41d9f950a284c44673191b48f527dcb2232a4dfa2dfec118a51b79e2e4742c1a7d157e07842
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>patrick@gentoo.org</email>
|
||||
<name>Patrick Lauer</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="OpenDylan language runtime environment (prebuilt)"
|
||||
|
||||
MY_PN="opendylan"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
HOMEPAGE="http://opendylan.org"
|
||||
SRC_URI="amd64? ( http://opendylan.org/downloads/${MY_PN}/${PV}/${MY_P}-x86_64-linux.tar.bz2 )
|
||||
x86? ( http://opendylan.org/downloads/${MY_PN}/${PV}/${MY_P}-x86-linux.tar.bz2 )"
|
||||
LICENSE="Opendylan"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/boehm-gc"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_configure() { :; }
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
# this is a precompiled tarball
|
||||
mkdir -p "${D}/opt/${MY_P}"
|
||||
cp -ar "${S}"/* "${D}/opt/${MY_P}" || die "Failed to copy stuff"
|
||||
mkdir -p "${D}/etc/env.d/opendylan"
|
||||
echo "export PATH=/opt/opendylan-2011.1/bin:\$PATH" > "${D}/etc/env.d/opendylan/99-opendylan-bin" || die "Failed to add env settings"
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="OpenDylan language runtime environment (prebuilt)"
|
||||
|
||||
MY_PN="opendylan"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
HOMEPAGE="http://opendylan.org"
|
||||
SRC_URI="amd64? ( http://opendylan.org/downloads/${MY_PN}/${PV}/${MY_P}-x86_64-linux.tar.bz2 )
|
||||
x86? ( http://opendylan.org/downloads/${MY_PN}/${PV}/${MY_P}-x86-linux.tar.bz2 )"
|
||||
LICENSE="Opendylan"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/boehm-gc"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_configure() { :; }
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
# this is a precompiled tarball
|
||||
mkdir -p "${D}/opt/${MY_P}"
|
||||
cp -ar "${S}"/* "${D}/opt/${MY_P}" || die "Failed to copy stuff"
|
||||
mkdir -p "${D}/etc/env.d/opendylan"
|
||||
echo "export PATH=/opt/opendylan-2012.1/bin:\$PATH" > "${D}/etc/env.d/opendylan/99-opendylan-bin" || die "Failed to add env settings"
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="OpenDylan language runtime environment (prebuilt)"
|
||||
|
||||
MY_PN="opendylan"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
HOMEPAGE="http://opendylan.org"
|
||||
SRC_URI="amd64? ( http://opendylan.org/downloads/${MY_PN}/${PV}/${MY_P}-x86_64-linux.tar.bz2 )
|
||||
x86? ( http://opendylan.org/downloads/${MY_PN}/${PV}/${MY_P}-x86-linux.tar.bz2 )"
|
||||
LICENSE="Opendylan"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/boehm-gc"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_configure() { :; }
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
# this is a precompiled tarball
|
||||
mkdir -p "${D}/opt/${MY_P}"
|
||||
cp -ar "${S}"/* "${D}/opt/${MY_P}" || die "Failed to copy stuff"
|
||||
mkdir -p "${D}/etc/env.d/opendylan"
|
||||
echo "export PATH=/opt/opendylan-2013.1/bin:\$PATH" > "${D}/etc/env.d/opendylan/99-opendylan-bin" || die "Failed to add env settings"
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="OpenDylan language runtime environment (prebuilt)"
|
||||
|
||||
MY_PN="opendylan"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
HOMEPAGE="http://opendylan.org"
|
||||
SRC_URI="amd64? ( http://opendylan.org/downloads/${MY_PN}/${PV}/${MY_P}-x86_64-linux.tar.bz2 )
|
||||
x86? ( http://opendylan.org/downloads/${MY_PN}/${PV}/${MY_P}-x86-linux.tar.bz2 )"
|
||||
LICENSE="Opendylan"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/boehm-gc"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_configure() { :; }
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
# this is a precompiled tarball
|
||||
mkdir -p "${D}/opt/${MY_P}"
|
||||
cp -ar "${S}"/* "${D}/opt/${MY_P}" || die "Failed to copy stuff"
|
||||
mkdir -p "${D}/etc/env.d/opendylan"
|
||||
echo "export PATH=/opt/opendylan-2013.2/bin:\$PATH" > "${D}/etc/env.d/opendylan/99-opendylan-bin" || die "Failed to add env settings"
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="OpenDylan language runtime environment (prebuilt)"
|
||||
|
||||
MY_PN="opendylan"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
HOMEPAGE="http://opendylan.org"
|
||||
SRC_URI="amd64? ( http://opendylan.org/downloads/${MY_PN}/${PV}/${MY_P}-x86_64-linux.tar.bz2 )
|
||||
x86? ( http://opendylan.org/downloads/${MY_PN}/${PV}/${MY_P}-x86-linux.tar.bz2 )"
|
||||
LICENSE="Opendylan"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/boehm-gc"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_configure() { :; }
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
# this is a precompiled tarball
|
||||
mkdir -p "${D}/opt/${MY_P}"
|
||||
cp -ar "${S}"/* "${D}/opt/${MY_P}" || die "Failed to copy stuff"
|
||||
mkdir -p "${D}/etc/env.d/opendylan"
|
||||
echo "export PATH=/opt/opendylan-${PV}/bin:\$PATH" > "${D}/etc/env.d/opendylan/99-opendylan-bin" || die "Failed to add env settings"
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OpenDylan language runtime environment (prebuilt)"
|
||||
|
||||
MY_PN="opendylan"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
HOMEPAGE="http://opendylan.org"
|
||||
SRC_URI="amd64? ( http://opendylan.org/downloads/${MY_PN}/${PV}/${MY_P}-x86_64-linux.tar.bz2 )
|
||||
x86? ( http://opendylan.org/downloads/${MY_PN}/${PV}/${MY_P}-x86-linux.tar.bz2 )"
|
||||
LICENSE="Opendylan"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/boehm-gc
|
||||
sys-libs/libunwind"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_configure() { :; }
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
# this is a precompiled tarball
|
||||
mkdir -p "${D}/opt/${MY_P}"
|
||||
cp -ar "${S}"/* "${D}/opt/${MY_P}" || die "Failed to copy stuff"
|
||||
mkdir -p "${D}/etc/env.d/opendylan"
|
||||
echo "export PATH=/opt/opendylan-${PV}/bin:\$PATH" > "${D}/etc/env.d/opendylan/99-opendylan-bin" || die "Failed to add env settings"
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
DIST opendylan-2013.1-sources.tar.bz2 8441356 BLAKE2B 5dad47af5ccd5bb760c8fd0e83faf6442f43b47c985731cd3b2fae5644f5dbc96150050f3fa19110391ae36bbd1a68d0e51ae6d5ac95407c38a3fcfebf8425cf SHA512 f5168bb9a4d2bcd372667406f2f07ed5972f3e773a5766c5f74421d6ffd10901a43cf9d6604ad2ae14d80f1b84e856f4fdca3e1546a87053939f470005a87a2f
|
||||
DIST opendylan-2013.2-sources.tar.bz2 9174284 BLAKE2B 124af65a76c3f795a90f8220ca499fa822e329e33be2b322d63b77a82880e18b3b665968a726ecbfa1888c29b62b9a11f3a568b222ef18dfab38c3ae05bfdf23 SHA512 f846a1d80f78b887815d2f2983314dbf6b5f424164dba9bc6ac456b40f31ab02aeb073a447df8f02b3fad6bcf6401a889abaac400d58db8e0adebcdd4e177a4d
|
||||
DIST opendylan-2014.1-sources.tar.bz2 8232321 BLAKE2B 45535287a2d85617e0461da4dfcd93f1f95249a7c191732624129174c6696411b3cf2a3cd85bb9eaa26c3723689d1ebfbb812fabb3a8d3e2ac5cfd7f4ee284f9 SHA512 576616cad0eb6ff8606a394834ad325858a5f45a8427adb0eefc9ebf883ab1522ec66dff6e591a367390d49f53acd160becad62679edc610ccfe63c9a3795cfc
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>patrick@gentoo.org</email>
|
||||
<name>Patrick Lauer</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,100 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="OpenDylan language runtime environment"
|
||||
HOMEPAGE="http://opendylan.org"
|
||||
SRC_URI="http://opendylan.org/downloads/${PN}/${PV}/${P}-sources.tar.bz2"
|
||||
|
||||
LICENSE="Opendylan"
|
||||
SLOT="0"
|
||||
# not tested on x86
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
# the boehm-gc check is "wrong" and reported upstream
|
||||
# but for now static-libs useflag is needed
|
||||
DEPEND="app-arch/unzip
|
||||
dev-libs/boehm-gc
|
||||
dev-lang/perl
|
||||
dev-perl/XML-Parser
|
||||
|| ( dev-lang/opendylan-bin dev-lang/opendylan )
|
||||
x86? ( <dev-libs/mps-1.108 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# on x86 there's a dependency on mps, but the build system is a bit ... hmm ...
|
||||
# let's give it more of a chance to survive then
|
||||
NAUGHTY_FILES=(
|
||||
sources/lib/run-time/collector.c.malloc
|
||||
sources/lib/run-time/collector.c
|
||||
sources/lib/run-time/pentium-win32/buffalo-collector.c
|
||||
sources/lib/run-time/pentium-win32/heap-stats.c
|
||||
sources/lib/run-time/heap-utils.h
|
||||
)
|
||||
|
||||
NAUGHTY_HEADERS=(
|
||||
mps.h
|
||||
mpscmv.h
|
||||
mpscamc.h
|
||||
mpsavm.h
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
mkdir -p build-aux
|
||||
elibtoolize && eaclocal || die "Fail"
|
||||
automake --foreign --add-missing # this one dies wrongfully
|
||||
eautoconf || die "Fail"
|
||||
# mps headers, included wrong
|
||||
if use x86; then
|
||||
for i in ${NAUGHTY_FILES[@]}; do
|
||||
for header in ${NAUGHTY_HEADERS[@]}; do
|
||||
sed -i -e "s:\"${header}\":<${header}>:" $i
|
||||
done
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if has_version =dev-lang/opendylan-bin-2013.1; then
|
||||
PATH=/opt/opendylan-2013.1/bin/:$PATH
|
||||
elif has_version =dev-lang/opendylan-bin-2012.1; then
|
||||
PATH=/opt/opendylan-2012.1/bin/:$PATH
|
||||
elif has_version =dev-lang/opendylan-bin-2011.1; then
|
||||
PATH=/opt/opendylan-2011.1/bin/:$PATH
|
||||
else
|
||||
PATH=/opt/opendylan/bin:$PATH
|
||||
fi
|
||||
if use amd64; then
|
||||
econf --prefix=/opt/opendylan
|
||||
else
|
||||
econf --prefix=/opt/opendylan --with-mps=/usr/include/mps/
|
||||
fi
|
||||
if use x86; then
|
||||
# Includedir, pointing at something wrong
|
||||
sed -i -e 's:-I$(MPS)/code:-I$(MPS):' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps path"
|
||||
sed -i -e 's~(cd $(MPS)/code; make -f lii4gc.gmk mmdw.a)~:;~' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps building"
|
||||
sed -i -e 's~(cd $(MPS)/code; make -f lii4gc.gmk mpsplan.a)~:;~' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps building"
|
||||
sed -i -e 's~$(MPS_LIB)/mpsplan.a~/usr/lib/mpsplan.a~' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps clone"
|
||||
sed -i -e 's~$(MPS_LIB)/mmdw.a~/usr/lib/mmdw.a~' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps clone"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ulimit -s 32000 # this is naughty build system
|
||||
emake -j1 3-stage-bootstrap
|
||||
}
|
||||
|
||||
src_install() {
|
||||
ulimit -s 32000 # this is naughty build system
|
||||
# because of Makefile weirdness it rebuilds quite a bit here
|
||||
# upstream has been notified
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
mkdir -p "${D}/etc/env.d/opendylan/"
|
||||
echo "export PATH=/opt/opendylan/bin:\$PATH" > "${D}/etc/env.d/opendylan/99-opendylan" || die "Failed to add env settings"
|
||||
}
|
@ -1,105 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools toolchain-funcs
|
||||
|
||||
DESCRIPTION="OpenDylan language runtime environment"
|
||||
HOMEPAGE="http://opendylan.org"
|
||||
SRC_URI="http://opendylan.org/downloads/${PN}/${PV}/${P}-sources.tar.bz2"
|
||||
|
||||
LICENSE="Opendylan"
|
||||
SLOT="0"
|
||||
# not tested on x86
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
# the boehm-gc check is "wrong" and reported upstream
|
||||
# but for now static-libs useflag is needed
|
||||
DEPEND="app-arch/unzip
|
||||
dev-libs/boehm-gc[threads]
|
||||
dev-lang/perl
|
||||
dev-perl/XML-Parser
|
||||
|| ( dev-lang/opendylan-bin dev-lang/opendylan )
|
||||
x86? ( <dev-libs/mps-1.108 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# on x86 there's a dependency on mps, but the build system is a bit ... hmm ...
|
||||
# let's give it more of a chance to survive then
|
||||
NAUGHTY_FILES=(
|
||||
sources/lib/run-time/collector.c.malloc
|
||||
sources/lib/run-time/collector.c
|
||||
sources/lib/run-time/pentium-win32/buffalo-collector.c
|
||||
sources/lib/run-time/pentium-win32/heap-stats.c
|
||||
sources/lib/run-time/heap-utils.h
|
||||
)
|
||||
|
||||
NAUGHTY_HEADERS=(
|
||||
mps.h
|
||||
mpscmv.h
|
||||
mpscamc.h
|
||||
mpsavm.h
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
# configure autodetects clang and prefers it, #527108
|
||||
sed -i -e 's/clang//' configure.ac || die
|
||||
mkdir -p build-aux
|
||||
elibtoolize && eaclocal || die "Fail"
|
||||
automake --foreign --add-missing # this one dies wrongfully
|
||||
eautoconf || die "Fail"
|
||||
# mps headers, included wrong
|
||||
if use x86; then
|
||||
for i in ${NAUGHTY_FILES[@]}; do
|
||||
for header in ${NAUGHTY_HEADERS[@]}; do
|
||||
sed -i -e "s:\"${header}\":<${header}>:" $i
|
||||
done
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if has_version =dev-lang/opendylan-bin-2013.2; then
|
||||
PATH=/opt/opendylan-2013.2/bin/:$PATH
|
||||
elif has_version =dev-lang/opendylan-bin-2013.1; then
|
||||
PATH=/opt/opendylan-2013.1/bin/:$PATH
|
||||
elif has_version =dev-lang/opendylan-bin-2012.1; then
|
||||
PATH=/opt/opendylan-2012.1/bin/:$PATH
|
||||
elif has_version =dev-lang/opendylan-bin-2011.1; then
|
||||
PATH=/opt/opendylan-2011.1/bin/:$PATH
|
||||
else
|
||||
PATH=/opt/opendylan/bin:$PATH
|
||||
fi
|
||||
|
||||
if use amd64; then
|
||||
econf --prefix=/opt/opendylan
|
||||
else
|
||||
econf --prefix=/opt/opendylan --with-mps=/usr/include/mps/
|
||||
fi
|
||||
if use x86; then
|
||||
# Includedir, pointing at something wrong
|
||||
sed -i -e 's:-I$(MPS)/code:-I$(MPS):' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps path"
|
||||
sed -i -e 's~(cd $(MPS)/code; make -f lii4gc.gmk mmdw.a)~:;~' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps building"
|
||||
sed -i -e 's~(cd $(MPS)/code; make -f lii4gc.gmk mpsplan.a)~:;~' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps building"
|
||||
sed -i -e 's~$(MPS_LIB)/mpsplan.a~/usr/lib/mpsplan.a~' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps clone"
|
||||
sed -i -e 's~$(MPS_LIB)/mmdw.a~/usr/lib/mmdw.a~' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps clone"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ulimit -s 32000 # this is naughty build system
|
||||
emake -j1 3-stage-bootstrap
|
||||
}
|
||||
|
||||
src_install() {
|
||||
ulimit -s 32000 # this is naughty build system
|
||||
# because of Makefile weirdness it rebuilds quite a bit here
|
||||
# upstream has been notified
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
mkdir -p "${D}/etc/env.d/opendylan/"
|
||||
echo "export PATH=/opt/opendylan/bin:\$PATH" > "${D}/etc/env.d/opendylan/99-opendylan" || die "Failed to add env settings"
|
||||
}
|
@ -1,101 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools toolchain-funcs
|
||||
|
||||
DESCRIPTION="OpenDylan language runtime environment"
|
||||
HOMEPAGE="http://opendylan.org"
|
||||
SRC_URI="http://opendylan.org/downloads/${PN}/${PV}/${P}-sources.tar.bz2"
|
||||
|
||||
LICENSE="Opendylan"
|
||||
SLOT="0"
|
||||
# not tested on x86
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
# the boehm-gc check is "wrong" and reported upstream
|
||||
# but for now static-libs useflag is needed
|
||||
DEPEND="app-arch/unzip
|
||||
dev-libs/boehm-gc[threads]
|
||||
dev-lang/perl
|
||||
dev-perl/XML-Parser
|
||||
|| ( dev-lang/opendylan-bin dev-lang/opendylan )
|
||||
x86? ( <dev-libs/mps-1.108 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# on x86 there's a dependency on mps, but the build system is a bit ... hmm ...
|
||||
# let's give it more of a chance to survive then
|
||||
NAUGHTY_FILES=(
|
||||
sources/lib/run-time/collector.c.malloc
|
||||
sources/lib/run-time/collector.c
|
||||
sources/lib/run-time/pentium-win32/buffalo-collector.c
|
||||
sources/lib/run-time/pentium-win32/heap-stats.c
|
||||
sources/lib/run-time/heap-utils.h
|
||||
)
|
||||
|
||||
NAUGHTY_HEADERS=(
|
||||
mps.h
|
||||
mpscmv.h
|
||||
mpscamc.h
|
||||
mpsavm.h
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# configure autodetects clang and prefers it, #527108
|
||||
sed -i -e 's/clang//' configure.ac || die
|
||||
mkdir -p build-aux
|
||||
elibtoolize && eaclocal || die "Fail"
|
||||
automake --foreign --add-missing # this one dies wrongfully
|
||||
eautoconf || die "Fail"
|
||||
# mps headers, included wrong
|
||||
if use x86; then
|
||||
for i in ${NAUGHTY_FILES[@]}; do
|
||||
for header in ${NAUGHTY_HEADERS[@]}; do
|
||||
sed -i -e "s:\"${header}\":<${header}>:" $i
|
||||
done
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if has_version =dev-lang/opendylan-bin-2014.1; then
|
||||
PATH=/opt/opendylan-2014.1/bin/:$PATH
|
||||
elif has_version =dev-lang/opendylan-bin-2013.2; then
|
||||
PATH=/opt/opendylan-2013.2/bin/:$PATH
|
||||
elif has_version =dev-lang/opendylan-bin-2013.1; then
|
||||
PATH=/opt/opendylan-2013.1/bin/:$PATH
|
||||
else
|
||||
PATH=/opt/opendylan/bin:$PATH
|
||||
fi
|
||||
|
||||
if use amd64; then
|
||||
econf --prefix=/opt/opendylan
|
||||
else
|
||||
econf --prefix=/opt/opendylan --with-mps=/usr/include/mps/
|
||||
fi
|
||||
if use x86; then
|
||||
# Includedir, pointing at something wrong
|
||||
sed -i -e 's:-I$(MPS)/code:-I$(MPS):' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps path"
|
||||
sed -i -e 's~(cd $(MPS)/code; make -f lii4gc.gmk mmdw.a)~:;~' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps building"
|
||||
sed -i -e 's~(cd $(MPS)/code; make -f lii4gc.gmk mpsplan.a)~:;~' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps building"
|
||||
sed -i -e 's~$(MPS_LIB)/mpsplan.a~/usr/lib/mpsplan.a~' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps clone"
|
||||
sed -i -e 's~$(MPS_LIB)/mmdw.a~/usr/lib/mmdw.a~' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps clone"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ulimit -s 32000 # this is naughty build system
|
||||
emake -j1 3-stage-bootstrap
|
||||
}
|
||||
|
||||
src_install() {
|
||||
ulimit -s 32000 # this is naughty build system
|
||||
# because of Makefile weirdness it rebuilds quite a bit here
|
||||
# upstream has been notified
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
mkdir -p "${D}/etc/env.d/opendylan/"
|
||||
echo "export PATH=/opt/opendylan/bin:\$PATH" > "${D}/etc/env.d/opendylan/99-opendylan" || die "Failed to add env settings"
|
||||
}
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
EGIT_SUBMODULES=( '*' )
|
||||
EGIT_REPO_URI="https://github.com/dylan-lang/opendylan.git"
|
||||
|
||||
inherit autotools git-r3
|
||||
|
||||
DESCRIPTION="OpenDylan language runtime environment"
|
||||
HOMEPAGE="http://opendylan.org"
|
||||
|
||||
LICENSE="Opendylan"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="dev-libs/boehm-gc[threads]
|
||||
dev-lang/perl
|
||||
dev-perl/XML-Parser
|
||||
|| ( dev-lang/opendylan-bin dev-lang/opendylan )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
mkdir -p build-aux
|
||||
elibtoolize && eaclocal || die "Fail"
|
||||
automake --foreign --add-missing # this one dies wrongfully
|
||||
eautoconf || die "Fail"
|
||||
|
||||
# quick hack
|
||||
sed -i -e 's:/usr/local:/usr:' admin/builds/fdmake.pl || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if has_version =dev-lang/opendylan-bin-2014.1; then
|
||||
PATH=/opt/opendylan-2014.1/bin/:$PATH
|
||||
elif has_version =dev-lang/opendylan-bin-2013.2; then
|
||||
PATH=/opt/opendylan-2013.2/bin/:$PATH
|
||||
elif has_version =dev-lang/opendylan-bin-2013.1; then
|
||||
PATH=/opt/opendylan-2013.1/bin/:$PATH
|
||||
elif has_version =dev-lang/opendylan-bin-2012.1; then
|
||||
PATH=/opt/opendylan-2012.1/bin/:$PATH
|
||||
elif has_version =dev-lang/opendylan-bin-2011.1; then
|
||||
PATH=/opt/opendylan-2011.1/bin/:$PATH
|
||||
else
|
||||
PATH=/opt/opendylan/bin/:$PATH
|
||||
fi
|
||||
econf --prefix=/opt/opendylan
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ulimit -s 32000 # this is naughty build system
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
ulimit -s 32000 # this is naughty build system
|
||||
# because of Makefile weirdness it rebuilds quite a bit here
|
||||
# upstream has been notified
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
mkdir -p "${D}/etc/env.d/opendylan/"
|
||||
echo "export PATH=/opt/opendylan/bin:\$PATH" > "${D}/etc/env.d/opendylan/opendylan" || die "Failed to add env settings"
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
--- scala-2.12.10-orig/project/VersionUtil.scala 2019-09-05 01:01:59.000000000 +1000
|
||||
+++ scala-2.12.10/project/VersionUtil.scala 2019-09-12 11:00:05.525154568 +1000
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
import sbt.{stringToProcess => _, _}
|
||||
import Keys._
|
||||
-import java.util.{Date, Locale, Properties, TimeZone}
|
||||
+import java.util.{Calendar, Date, Locale, Properties, TimeZone}
|
||||
import java.io.{File, FileInputStream}
|
||||
import java.text.SimpleDateFormat
|
||||
|
||||
@@ -65,18 +65,13 @@
|
||||
val log = sLog.value
|
||||
val (dateObj, sha) = {
|
||||
try {
|
||||
- // Use JGit to get the commit date and SHA
|
||||
- import org.eclipse.jgit.storage.file.FileRepositoryBuilder
|
||||
- import org.eclipse.jgit.revwalk.RevWalk
|
||||
- val db = new FileRepositoryBuilder().findGitDir.build
|
||||
- val head = db.resolve("HEAD")
|
||||
- if (head eq null) {
|
||||
- log.info("No git HEAD commit found -- Using current date and 'unknown' SHA")
|
||||
- (new Date, "unknown")
|
||||
- } else {
|
||||
- val commit = new RevWalk(db).parseCommit(head)
|
||||
- (new Date(commit.getCommitTime.toLong * 1000L), commit.getName.substring(0, 7))
|
||||
- }
|
||||
+ val commit = "61701c22900f14676fa181500722b64330eb2605"
|
||||
+ val cal = Calendar.getInstance();
|
||||
+ cal.set(Calendar.YEAR, 2019);
|
||||
+ cal.set(Calendar.MONTH, Calendar.SEPTEMBER);
|
||||
+ cal.set(Calendar.DAY_OF_MONTH, 5);
|
||||
+ val date = cal.getTime();
|
||||
+ (date, commit.substring(0, 7))
|
||||
} catch {
|
||||
case ex: Exception =>
|
||||
log.error("Could not determine commit date + SHA: " + ex)
|
@ -0,0 +1,198 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit eutils check-reqs java-pkg-2
|
||||
|
||||
SV="$(ver_cut 1-2)"
|
||||
SBTV="0.13.18"
|
||||
|
||||
# Note: to bump scala, some things to try are:
|
||||
# 1. remove the https://dev.gentoo.org/~gienah/snapshots/${P}-ivy2-deps.tar.gz
|
||||
# and https://dev.gentoo.org/~gienah/snapshots/${P}-sbt-deps.tar.gz from
|
||||
# SRC_URI
|
||||
# 2. try emerge scala, with network-sandbox disabled:
|
||||
# FEATURES="noclean -network-sandbox" emerge dev-lang/scala
|
||||
# Check if it downloads more stuff in src_compile to
|
||||
# ${WORKDIR}/.ivy2 or ${WORKDIR}/.sbt or /root/.ivy2 or /root/.sbt
|
||||
# 3. tar up all the .ivy2 and .sbt junk into ${P}-ivy2-deps.tar.xz and
|
||||
# ${P}-sbt-deps.tar.xz and add them to SRC_URI, in ${WORKDIR}:
|
||||
# XZ_OPT=-9 tar --owner=portage --group=portage \
|
||||
# -cJf /usr/portage/distfiles/${P}-ivy2-deps.tar.xz .ivy2/cache
|
||||
# XZ_OPT=-9 tar --owner=portage --group=portage \
|
||||
# -cJf /usr/portage/distfiles/${P}-sbt-deps.tar.xz .sbt
|
||||
# 4. Add these tar files to SRC_URI (undo step 1).
|
||||
# 5. Try emerging it again, with network-sandbox, and create the bianry
|
||||
# tar archive:
|
||||
# FEATURES="noclean network-sandbox -test" USE="doc source" emerge dev-lang/scala
|
||||
# cd $WORDKIR
|
||||
# XZ_OPT=-9 tar --owner=portage --group=portage \
|
||||
# -cJf /usr/portage/distfiles/${P}-gentoo-binary.tar.xz .ivy2/local \
|
||||
# ${P}/build/pack/bin ${P}/build/quick/classes/scala-dist/man/man1 \
|
||||
# ${P}/src/library ${P}/src/library-aux ${P}/src/reflect ${P}/doc/README \
|
||||
# ${P}/build/scaladoc
|
||||
|
||||
DESCRIPTION="The Scala Programming Language"
|
||||
HOMEPAGE="http://www.scala-lang.org/"
|
||||
SRC_URI="
|
||||
!binary? (
|
||||
https://github.com/scala/scala/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://dev.gentoo.org/~gienah/snapshots/${P}-ivy2-deps.tar.xz
|
||||
https://dev.gentoo.org/~gienah/snapshots/${P}-sbt-deps.tar.xz
|
||||
)
|
||||
binary? (
|
||||
https://dev.gentoo.org/~gienah/files/dist/${P}-gentoo-binary.tar.xz
|
||||
)"
|
||||
LICENSE="BSD"
|
||||
SLOT="${SV}/${PV}"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-macos"
|
||||
|
||||
IUSE="binary emacs"
|
||||
|
||||
COMMON_DEP="dev-java/ant-core:0
|
||||
dev-java/jline:2"
|
||||
|
||||
DEPEND="${COMMON_DEP}
|
||||
!binary? (
|
||||
>=virtual/jdk-1.8:*
|
||||
>=dev-java/sbt-${SBTV}:0
|
||||
media-gfx/graphviz
|
||||
)
|
||||
binary? (
|
||||
>=virtual/jdk-1.8:*
|
||||
)
|
||||
app-arch/xz-utils:0"
|
||||
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.8:*
|
||||
app-eselect/eselect-scala
|
||||
!dev-lang/scala-bin:0"
|
||||
|
||||
PDEPEND="emacs? ( app-emacs/scala-mode:0 )"
|
||||
|
||||
CHECKREQS_MEMORY="1536M"
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-2_pkg_setup
|
||||
|
||||
if ! use binary; then
|
||||
debug-print "Checking for sufficient physical RAM"
|
||||
|
||||
ewarn "This package can fail to build with memory allocation errors in some cases."
|
||||
ewarn "If you are unable to build from sources, please try USE=binary"
|
||||
ewarn "for this package. See bug #181390 for more information."
|
||||
|
||||
check-reqs_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if ! use binary; then
|
||||
check-reqs_pkg_pretend
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# Unpack tar files only.
|
||||
for f in ${A} ; do
|
||||
[[ ${f} == *".tar."* ]] && unpack ${f}
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
java-pkg_getjars ant-core,jline-2,sbt
|
||||
|
||||
if ! use binary; then
|
||||
local a
|
||||
for a in "${JURI[@]}"
|
||||
do
|
||||
echo "${a}"
|
||||
local g="${a/* -> /}"
|
||||
echo "${g}"
|
||||
local j="${a/ -> */}"
|
||||
echo "${j}"
|
||||
cp -p "${DISTDIR}/${g}" "${S}/${j#${BURI}/*/}" || die
|
||||
done
|
||||
|
||||
# gentoo patch (by gienah) to stop it calling git log in the build
|
||||
eapply "${FILESDIR}/${PN}-2.12.10-no-git.patch"
|
||||
|
||||
local SBT_PVR="$(java-config --query=PVR --package=sbt)"
|
||||
sed -e "s@sbt.version=${SBTV}@sbt.version=${SBT_PVR}@" \
|
||||
-i "${S}/project/build.properties" \
|
||||
|| die "Could not set sbt.version=${SBT_PVR} in project/build.properties"
|
||||
|
||||
cat <<- EOF > "${S}/sbt"
|
||||
#!/bin/bash
|
||||
gjl_package=sbt
|
||||
gjl_jar="sbt-launch.jar"
|
||||
gjl_java_args="-Dsbt.version=${SBT_PVR} -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -Duser.home="${WORKDIR}""
|
||||
source /usr/share/java-config-2/launcher/launcher.bash
|
||||
EOF
|
||||
chmod u+x "${S}/sbt" || die
|
||||
|
||||
sed -e 's@-Xmx1024M@-Xmx1536M@' \
|
||||
-i "${S}/build.sbt" \
|
||||
|| die "Could not change increase memory size in ${S}/build.sbt"
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if ! use binary; then
|
||||
export PATH="${EROOT}/usr/share/scala-${SV}/bin:${WORKDIR}/${L_P}:${PATH}"
|
||||
export LANG="en_US.UTF-8"
|
||||
einfo "=== scala compile ..."
|
||||
"${S}"/sbt -Dsbt.log.noformat=true compile || die "sbt compile failed"
|
||||
einfo "=== sbt publishLocal with jdk $(java-pkg_get-vm-version) ..."
|
||||
"${S}"/sbt -Dsbt.log.noformat=true publishLocal \
|
||||
|| die "sbt publishLocal failed"
|
||||
else
|
||||
einfo "Skipping compilation, USE=binary is set."
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if ! use binary; then
|
||||
"${S}"/sbt -Dsbt.log.noformat=true test || die "sbt test failed"
|
||||
else
|
||||
einfo "Skipping tests, USE=binary is set."
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd build/pack || die
|
||||
local SCALADIR="/usr/share/${PN}-${SV}"
|
||||
exeinto "${SCALADIR}/bin"
|
||||
doexe $(find bin/ -type f ! -iname '*.bat')
|
||||
dodir /usr/bin
|
||||
for b in $(find bin/ -type f ! -iname '*.bat'); do
|
||||
local _name=$(basename "${b}")
|
||||
dosym "${SCALADIR}/bin/${_name}" "/usr/bin/${_name}-${SV}"
|
||||
done
|
||||
popd || die
|
||||
java-pkg_dojar $(find "${WORKDIR}"/.ivy2/local -name \*.jar -print)
|
||||
|
||||
pushd build/quick/classes/scala-dist/man/man1 || die
|
||||
for i in *.1; do
|
||||
newman "${i}" "${i/./-${SV}.}"
|
||||
done
|
||||
popd || die
|
||||
|
||||
#sources are .scala so no use for java-pkg_dosrc
|
||||
pushd src || die
|
||||
if use source; then
|
||||
dodir "${SCALADIR}/src"
|
||||
insinto "${SCALADIR}/src"
|
||||
doins -r library library-aux reflect
|
||||
fi
|
||||
popd || die
|
||||
|
||||
local DOCS=( "doc/README" )
|
||||
local HTML_DOCS=( "build/scaladoc" )
|
||||
use doc && einstalldocs
|
||||
}
|
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
DIST cityhash-1.0.3.tar.gz 352237 BLAKE2B 1a6eddc58c9e44b76be55666126f02a84d28b9f03afa2f05da8c6fa95d16a6b69df8d93c153c67f0392facdd235a98296183e2787f2211b2502081307cef5bc9 SHA512 1d284755af4adcbb9d235d19a00ea0ab3e20676eec3e455da24a855e254996139d3c123f8d074bcaf7d53de04d34949ace799181d428fc322091c93c39702de0
|
||||
DIST cityhash-1.1.0.tar.gz 355571 BLAKE2B 9c0f6d032060c76b6fef724aa1ef79aff56d2a1ee223d2a74e58bbf7e0e7225079f5cdb0367c812f489744cc12a5af1f3163b4e4d96b450e5c13ff9e352b20c4 SHA512 aff5a513fd23c9ec11a02a62151d95e36959ef54fd75a9ae4b94ee72fe93a38295c343c03ed0b0c667c79191ca1119cf2362d7bb8b2f6d6dfa50e5134c9a2654
|
||||
DIST cityhash-1.1.1.tar.gz 376456 BLAKE2B 51e8f7cdf4b8f2f1957bb926b649b63087ab6067a916d2fa422c941e1b7911d4ee030cadf310afd349f2c136c0f7b6a8e1128b25021414b9e6be55a73e09e6b5 SHA512 f5476a608fad87770aa6622f3c9ac441db1a0b1731e5235bf8599499943184a1fe5b91329cb9153b363a3e34605f7641b233114440e8895791df7d13452bb4f6
|
@ -1,18 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Google's CityHash family of hash functions"
|
||||
|
||||
HOMEPAGE="https://github.com/google/cityhash"
|
||||
SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
#IUSE="sse42" should be added by someone with a modern CPU
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
@ -1,18 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Google's CityHash family of hash functions"
|
||||
|
||||
HOMEPAGE="https://github.com/google/cityhash"
|
||||
SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
#IUSE="sse42" should be added by someone with a modern CPU
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
@ -1,18 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Google's CityHash family of hash functions"
|
||||
|
||||
HOMEPAGE="https://github.com/google/cityhash"
|
||||
SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
#IUSE="sse42" should be added by someone with a modern CPU
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>patrick@gentoo.org</email>
|
||||
<name>Patrick Lauer</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">google/cityhash</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,4 +0,0 @@
|
||||
DIST mps-kit-1.106.2.tar.gz 1303450 BLAKE2B 15de3706adbe05e195342b4bc72f3bbeef7df1c288eea7c4e25ee95bd64a45a83604379c2c20be44d2fdfcc23894ff210637d5ea8040922462d2126292ea29a1 SHA512 6d4a6441c4b0afd9daa0ef20a962fd9a5cd120ed324bfb7ece95ec7570f2907853ff4843fcb71537910d81339bb92cd612fa67ad0beb0ad89382339f39760a34
|
||||
DIST mps-kit-1.110.0.tar.gz 1920116 BLAKE2B e77c08ee59b879c47046eee40c833d733da924e2088297fc3f762eb64237744fd924be3d226b1a14c10ae0d1becf6c2ade77c5e38c198b3a5c799d5e48c000ca SHA512 b613833a9b9a79547639337e4cda897b939c45cb84579521ec63b5560ad94cb7a8b4885b51eace119fc7c3ebf725433dfca41d96c8a773df94b37abb605bb07f
|
||||
DIST mps-kit-1.111.0.tar.gz 3197286 BLAKE2B 464fdd2144da219e0407875c1295a3c923dc4c7529146706e5d43b232d8fe5939ac4a1b7fc658cd7cbc2496fcdafaca9065c7515815ae85df109e85bc99df9c8 SHA512 628ad619dbce1460265ffbfc76adb4a88a2168b80bd1d8de10509d7025e7f9cd240ccc7dda044119863d0f2db95792ca9c94a35271dac5a995e8609221d7e67b
|
||||
DIST mps-kit-1.114.0.tar.gz 2461796 BLAKE2B bc065708f8b4df6a4d7dcf415efd120ecb18461949a000430731ae34cd25bdf90f857bc711b6cc05c7ddd9a50ff8660ddbda146ce2175116d4fc6a8098d8bdc1 SHA512 78ec4f470a1c7e1aa377a61a6ccefbc77fa6e84de73b209cc3544452843ecb09a0d889121e51cfbe64d788c658c68b12a4ed150b7f82df78d4416987ded21fc9
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>patrick@gentoo.org</email>
|
||||
<name>Patrick Lauer</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Ravenbrook Memory Pool System"
|
||||
|
||||
MY_P="${PN}-kit-${PV}"
|
||||
HOMEPAGE="http://www.ravenbrook.com/project/mps/"
|
||||
SRC_URI="http://www.ravenbrook.com/project/${PN}/release/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Sleepycat"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/code
|
||||
|
||||
src_prepare() {
|
||||
# need to fix CFLAGS, it's still being silly
|
||||
sed -i -e 's/-Werror//' gc.gmk
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -f lii4gc.gmk
|
||||
emake -f lii4gc.gmk mpsplan.a
|
||||
emake -f lii4gc.gmk mmdw.a
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mkdir -p "${D}"/usr/include/mps
|
||||
cp "${S}"/*.h "${D}"/usr/include/mps
|
||||
dolib.a "${S}"/lii4gc/ci/*.a
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Ravenbrook Memory Pool System"
|
||||
|
||||
MY_P="${PN}-kit-${PV}"
|
||||
HOMEPAGE="http://www.ravenbrook.com/project/mps/"
|
||||
SRC_URI="http://www.ravenbrook.com/project/${PN}/release/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Sleepycat"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/
|
||||
|
||||
src_prepare() {
|
||||
# need to fix CFLAGS, it's still being silly
|
||||
sed -i -e 's/-Werror//' code/g{c,p}.gmk || die "Failed to fix CFLAGS"
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Ravenbrook Memory Pool System"
|
||||
|
||||
MY_P="${PN}-kit-${PV}"
|
||||
HOMEPAGE="http://www.ravenbrook.com/project/mps/"
|
||||
SRC_URI="http://www.ravenbrook.com/project/${PN}/release/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Sleepycat"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/
|
||||
|
||||
src_prepare() {
|
||||
# need to fix CFLAGS, it's still being silly
|
||||
sed -i -e 's/-Werror//' code/g{c,p}.gmk || die "Failed to fix CFLAGS"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Ravenbrook Memory Pool System"
|
||||
|
||||
MY_P="${PN}-kit-${PV}"
|
||||
HOMEPAGE="http://www.ravenbrook.com/project/mps/"
|
||||
SRC_URI="http://www.ravenbrook.com/project/${PN}/release/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Sleepycat"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/
|
||||
|
||||
src_prepare() {
|
||||
# need to fix CFLAGS, it's still being silly
|
||||
sed -i -e 's/-Werror//' code/g{c,p}.gmk || die "Failed to fix CFLAGS"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
OASIS_BUILD_DOCS=1
|
||||
|
||||
inherit oasis eutils
|
||||
|
||||
DESCRIPTION="Module which offers basic control of ANSI compliant terminals"
|
||||
HOMEPAGE="http://forge.ocamlcore.org/projects/ansiterminal/"
|
||||
SRC_URI="http://forge.ocamlcore.org/frs/download.php/1206/${P}.tar.gz"
|
||||
LICENSE="LGPL-3-with-linking-exception"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
IUSE=""
|
||||
|
||||
DOCS=( "README.txt" "AUTHORS.txt" )
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
OASIS_BUILD_DOCS=1
|
||||
|
||||
inherit oasis eutils
|
||||
|
||||
DESCRIPTION="Module which offers basic control of ANSI compliant terminals"
|
||||
HOMEPAGE="https://github.com/Chris00/ANSITerminal"
|
||||
SRC_URI="https://github.com/Chris00/ANSITerminal/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="LGPL-3-with-linking-exception"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
RDEPEND=""
|
||||
DEPEND="${DEPEND} dev-ml/oasis"
|
||||
IUSE=""
|
||||
|
||||
DOCS=( "README.txt" "AUTHORS.txt" )
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/oasis.patch"
|
||||
oasis setup || die
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
DIST ANSITerminal-0.6.5.tar.gz 52473 BLAKE2B 1f7f5b8dc1e7f9c2434a7e4eea1cec848f019a82a4137f744008532fac85016d3908890f2dd4cf5e8fb5c9f4aaad69cba4d56e75ab7ab57354ff7a4988a5cfe8 SHA512 43a059cc2a947a70409e19b8c6d01e1b5aa495290967f984a6d707e5ff329dd88e82ba68e08b6262da4a19bb24be2e61154fcf8781ee5cbad98240276d7b060d
|
||||
DIST ANSITerminal-0.7.tar.gz 16763 BLAKE2B 5d25cdfe02f3b6f155995208897a11a21535105caa8db682f60a1215113e507ccac294037177d0fcd52431e3853aa655ead14e2054ada1369754d39c8db9448b SHA512 986f9d7fd862741ac7039cbd92c19b847d7b2d03edfb2d0851fe46ecc9678bf4617d1e687a61af3d3b28e2cfe347a80312f9bf5c84f957de0d6c169ca4209566
|
@ -1,13 +0,0 @@
|
||||
Index: ANSITerminal-0.7/_oasis
|
||||
===================================================================
|
||||
--- ANSITerminal-0.7.orig/_oasis
|
||||
+++ ANSITerminal-0.7/_oasis
|
||||
@@ -19,7 +19,7 @@ Library "ANSITerminal"
|
||||
InternalModules: ANSITerminal_common
|
||||
CSources: ANSITerminal_stubs.c
|
||||
BuildDepends: unix, bytes
|
||||
-
|
||||
+
|
||||
Document API
|
||||
Title: API reference for ANSITerminal
|
||||
Type: OCamlbuild (0.3)
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">Chris00/ANSITerminal</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
DIST OCaml-ImageMagick-0.34-imagemagick7.patch.bz2 15950 BLAKE2B 009ea1a988acb117768e60a30e7443165018aa58715eab83e6155d8c9e6772454f4d432afad9be6c07333701e1a78490c1b16c3f687c381f4ddc134ce42cecc8 SHA512 a5d1eb7baa001144cc618532b6446cae30974ee7f95455fb18de287731f1867ba767812a876510c0fc7944aa5259f4e60e9f68fa1364fac3a2dfb8f8c1f6a219
|
||||
DIST OCaml-ImageMagick-0.34.tgz 64219 BLAKE2B 2260f1fa3521d1c930fdc8380bc007aa9fb555e484887faf3a63f00cd0b82b71a6c0e061299c31c686dd651def9089b3f7e2d97642f2a7c60421eb0f25cad5b1 SHA512 cf1f979aed0aad1fb27dd6817adbc22c2f7c0d6d8c96a48d9532ce89c128b046ea7ac38ad96a5267a5920fccd0cd3631844e428e933143a405522ed5ebcbee39
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit findlib toolchain-funcs eutils
|
||||
|
||||
DESCRIPTION="Provide the ImageMagick methods to OCaml"
|
||||
HOMEPAGE="http://www.linux-nantes.org/~fmonnier/OCaml/ImageMagick/"
|
||||
SRC_URI="http://www.linux-nantes.org/~fmonnier/OCaml/ImageMagick/ImageMagick/${P}.tgz
|
||||
mirror://gentoo/${P}-imagemagick7.patch.bz2
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/7${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
# interactive tests
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND=">=media-gfx/imagemagick-7:=
|
||||
dev-lang/ocaml:=[ocamlopt]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}/${P}-imagemagick7.patch"
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
sed -e "s/gcc/$(tc-getCC)/" -i Makefile || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
findlib_src_preinst
|
||||
emake find_install
|
||||
dodoc README.txt
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST angstrom-0.7.0.tar.gz 106216 BLAKE2B 4f11a3b7b2f36bf1e5eaea68cb6b4fc0ca6e8ae608fa5dbb80e51a011157acf43ba649bf336158c43cab16b9935aac4e9bdd6f7baa5568ef930149c45de4460b SHA512 c4980e38b45dae9d9584ca7a248870b5966e8d2286ea137acf4e61b981ff2584a3952be8be66a06885e72ae3d326fabe837cdb391a3001f04f66d7823b93d528
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit opam
|
||||
|
||||
DESCRIPTION="Parser combinators built for speed and memory efficiency"
|
||||
HOMEPAGE="https://github.com/inhabitedtype/angstrom"
|
||||
SRC_URI="https://github.com/inhabitedtype/angstrom/archive/${PV}.tar.gz -> angstrom-${PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/ocaml:=
|
||||
dev-ml/angstrom:=
|
||||
dev-ml/async:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-ml/jbuilder"
|
||||
|
||||
S="${WORKDIR}/angstrom-${PV}"
|
||||
|
||||
src_compile() {
|
||||
jbuilder build -p ${PN} || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
jbuilder runtest -p ${PN}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">inhabitedtype/angstrom</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST angstrom-0.7.0.tar.gz 106216 BLAKE2B 4f11a3b7b2f36bf1e5eaea68cb6b4fc0ca6e8ae608fa5dbb80e51a011157acf43ba649bf336158c43cab16b9935aac4e9bdd6f7baa5568ef930149c45de4460b SHA512 c4980e38b45dae9d9584ca7a248870b5966e8d2286ea137acf4e61b981ff2584a3952be8be66a06885e72ae3d326fabe837cdb391a3001f04f66d7823b93d528
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit opam
|
||||
|
||||
DESCRIPTION="Parser combinators built for speed and memory efficiency"
|
||||
HOMEPAGE="https://github.com/inhabitedtype/angstrom"
|
||||
SRC_URI="https://github.com/inhabitedtype/angstrom/archive/${PV}.tar.gz -> angstrom-${PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/ocaml:=
|
||||
dev-ml/angstrom:=
|
||||
dev-ml/lwt:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-ml/jbuilder"
|
||||
|
||||
S="${WORKDIR}/angstrom-${PV}"
|
||||
|
||||
src_compile() {
|
||||
jbuilder build -p ${PN} || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
jbuilder runtest -p ${PN}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">inhabitedtype/angstrom</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST angstrom-0.7.0.tar.gz 106216 BLAKE2B 4f11a3b7b2f36bf1e5eaea68cb6b4fc0ca6e8ae608fa5dbb80e51a011157acf43ba649bf336158c43cab16b9935aac4e9bdd6f7baa5568ef930149c45de4460b SHA512 c4980e38b45dae9d9584ca7a248870b5966e8d2286ea137acf4e61b981ff2584a3952be8be66a06885e72ae3d326fabe837cdb391a3001f04f66d7823b93d528
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit opam
|
||||
|
||||
DESCRIPTION="Parser combinators built for speed and memory efficiency"
|
||||
HOMEPAGE="https://github.com/inhabitedtype/angstrom"
|
||||
SRC_URI="https://github.com/inhabitedtype/angstrom/archive/${PV}.tar.gz -> angstrom-${PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-ml/angstrom:="
|
||||
DEPEND="${RDEPEND}
|
||||
dev-ml/jbuilder"
|
||||
|
||||
S="${WORKDIR}/angstrom-${PV}"
|
||||
|
||||
src_compile() {
|
||||
jbuilder build -p ${PN} || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
jbuilder runtest -p ${PN}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">inhabitedtype/angstrom</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST angstrom-0.7.0.tar.gz 106216 BLAKE2B 4f11a3b7b2f36bf1e5eaea68cb6b4fc0ca6e8ae608fa5dbb80e51a011157acf43ba649bf336158c43cab16b9935aac4e9bdd6f7baa5568ef930149c45de4460b SHA512 c4980e38b45dae9d9584ca7a248870b5966e8d2286ea137acf4e61b981ff2584a3952be8be66a06885e72ae3d326fabe837cdb391a3001f04f66d7823b93d528
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit opam
|
||||
|
||||
DESCRIPTION="Parser combinators built for speed and memory efficiency"
|
||||
HOMEPAGE="https://github.com/inhabitedtype/angstrom"
|
||||
SRC_URI="https://github.com/inhabitedtype/angstrom/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-ml/result:="
|
||||
DEPEND="${RDEPEND}
|
||||
dev-ml/jbuilder
|
||||
test? ( dev-ml/alcotest )"
|
||||
|
||||
src_compile() {
|
||||
jbuilder build -p ${PN} || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
jbuilder runtest -p ${PN}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">inhabitedtype/angstrom</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST async_js-0.9.0.tar.gz 13597 BLAKE2B 6c2ee0820c0291d3b292f7fac629d3bd19fa4a07385b1805842c41cf96510e67c104e98064419c64cf74a70d79cecc9dff575f16b12162fee36dfc94ce3f080e SHA512 f188a023e105d409c10ff1517eba5f7c543ed1bdb9e81863569c34d911379cc00b704b8b9081e0041dac2e63dc48efc01763f199de5e5b8693533d2815fe2b4b
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Async support for JavaScript platforms"
|
||||
HOMEPAGE="https://github.com/janestreet/async_js"
|
||||
SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/ocaml:=
|
||||
dev-ml/async_kernel:=
|
||||
dev-ml/async_rpc_kernel:=
|
||||
dev-ml/ppx_driver:=
|
||||
dev-ml/ppx_jane:=
|
||||
dev-ml/js_of_ocaml:=
|
||||
dev-ml/ocaml-migrate-parsetree:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-ml/opam
|
||||
dev-ml/jbuilder
|
||||
"
|
||||
|
||||
src_install() {
|
||||
opam-installer -i \
|
||||
--prefix="${ED}/usr" \
|
||||
--libdir="${D}/$(ocamlc -where)" \
|
||||
--docdir="${ED}/usr/share/doc/${PF}" \
|
||||
${PN}.install || die
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">janestreet/async_js</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,3 +0,0 @@
|
||||
DIST atd-1.12.0.tar.gz 145428 BLAKE2B d9cc3b98567383e1a5dbb068165f144fb033e17030f979eb20963837b96f93d9b950943d59d1d0f348fed28ec05c5906ce6672f848d428193379670f5c4b51c4 SHA512 c24601b276da7837bc896bb42b2e0fa91ebfbf07759560c2490ed44bef722dcf8d586aaba1e62abff262805cab89996835611ab9fb68aa096dfc84bb55365475
|
||||
DIST atd-1.2.0.tar.gz 41300 BLAKE2B 3919de0a2ca5b071d2cfdab8b74c6f528bc6c1b6965e6a29d8ddfda89ac6db0fd2b6e1012e052370a9ca555c392176f68339c193076b082c79ebbedcd4146817 SHA512 a52824c9784ac0f4d6f314972fa1d92be14730de3c6bde04032004579ac27408385bd4fa7d926f9d564657eb62050fd732a032f364bada62a1dc7a8acfacb727
|
||||
DIST atd-1.2.1.tar.gz 39018 BLAKE2B 313a3019428f187051209e8eb2bec99f9a8fdefdb4da342c50bd54b42378c0c5eda988e13413c567765f8504ee24599fc440fdad6b8a3e728189df0f3b9f1939 SHA512 5dde8dd1e6ca53ae2ff7efc873211079678a824ae7a9d4182d58e3e10ce50a9dcd705de7168a8cfb12ea3d030a0d01b2485d436e77bfa48c14df7628b47161dc
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit findlib
|
||||
|
||||
DESCRIPTION="Syntax for cross-language type definitions"
|
||||
HOMEPAGE="https://github.com/mjambon/atd"
|
||||
SRC_URI="https://github.com/mjambon/atd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+ocamlopt test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
dev-lang/ocaml:=[ocamlopt?]
|
||||
dev-ml/easy-format:=[ocamlopt?]
|
||||
dev-ml/menhir:=[ocamlopt?]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
DEPEND="${DEPEND}
|
||||
dev-ml/jbuilder
|
||||
dev-ml/opam
|
||||
test? (
|
||||
dev-ml/biniou
|
||||
dev-ml/yojson
|
||||
)
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
jbuilder build -p atd || die
|
||||
}
|
||||
|
||||
oinstall() {
|
||||
opam-installer -i \
|
||||
--prefix="${ED}/usr" \
|
||||
--libdir="${D}/$(ocamlc -where)" \
|
||||
--docdir="${ED}/usr/share/doc/${PF}" \
|
||||
${1}.install || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
oinstall atd
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue