diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-10-13 22:19:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-10-14 23:22:23 +0100 |
commit | 4b19be30aa626b327c885dae62c559ec0e9fb935 (patch) | |
tree | 76e74807bc479502e13866b581b6bf86734ec634 /dev-libs/darts/darts-9999.ebuild | |
parent | 30d6f67c98d149508509d5e86f176d558793acc0 (diff) |
gentoo resync : 13.10.2019
Diffstat (limited to 'dev-libs/darts/darts-9999.ebuild')
-rw-r--r-- | dev-libs/darts/darts-9999.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/dev-libs/darts/darts-9999.ebuild b/dev-libs/darts/darts-9999.ebuild new file mode 100644 index 000000000000..556c583634b1 --- /dev/null +++ b/dev-libs/darts/darts-9999.ebuild @@ -0,0 +1,57 @@ +# Copyright 2003-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +WANT_LIBTOOL="none" + +inherit autotools + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/s-yata/darts-clone" +else + DARTS_CLONE_GIT_REVISION="" +fi + +DESCRIPTION="Darts-clone (Double-ARray Trie System) C++ library" +# Original upstream: http://chasen.org/~taku/software/darts/ +HOMEPAGE="https://github.com/s-yata/darts-clone https://code.google.com/archive/p/darts-clone/" +if [[ "${PV}" == "9999" ]]; then + SRC_URI="" +else + SRC_URI="https://github.com/s-yata/darts-clone/archive/${DARTS_CLONE_GIT_REVISION}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="" +IUSE="" + +BDEPEND="" +DEPEND="" +RDEPEND="" + +if [[ "${PV}" != "9999" ]]; then + S="${WORKDIR}/darts-clone-${DARTS_CLONE_GIT_REVISION}" +fi + +src_prepare() { + default + eaclocal + eautoconf + eautomake +} + +src_install() { + default + + local language source_file target_file + for source_file in doc/*/*.md; do + language="${source_file#*/}" + language="${language%%/*}" + target_file="${source_file##*/}" + target_file="${target_file%.md}.${language}.md" + newdoc "${source_file}" "${target_file}" + done +} |