public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/dbskkd-cdb/
Date: Sun, 25 Jun 2017 07:03:43 +0000 (UTC)	[thread overview]
Message-ID: <1498374206.9115c1092e55b1613f8b72cf78178530abae5b94.hattya@gentoo> (raw)

commit:     9115c1092e55b1613f8b72cf78178530abae5b94
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 25 07:03:26 2017 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sun Jun 25 07:03:26 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9115c109

app-i18n/dbskkd-cdb: new upstream release

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 app-i18n/dbskkd-cdb/Manifest               |  1 +
 app-i18n/dbskkd-cdb/dbskkd-cdb-3.00.ebuild | 63 ++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/app-i18n/dbskkd-cdb/Manifest b/app-i18n/dbskkd-cdb/Manifest
index 662591b2f11..8bf745e41f4 100644
--- a/app-i18n/dbskkd-cdb/Manifest
+++ b/app-i18n/dbskkd-cdb/Manifest
@@ -1 +1,2 @@
 DIST dbskkd-cdb-2.00.tar.gz 9296 SHA256 0e434e72153dde3131aeeeafbb40eba0054d0d37cab47b1561e4cf6dda6da8bb SHA512 3582728d2a1917c00437b273208fa150a5a32dcd462752c6751ddbd574ca7f1476b2aca0d2613471a800bd17f80e2c4b60846f9056ae621996f8f5a5592fa22a WHIRLPOOL 028849c4ab2d74338b6fcaed02f3c7b1ecea6315274499233e8097e4dab0bfd6d97a693657a1db8408d4e87933f804e253fa5a2e55a96ec47ba98bc45014e603
+DIST dbskkd-cdb-3.00.tar.gz 9380 SHA256 e92ef7162c2c50a441dd864dbf21510d746174b9f1f484bfbbdca1b31c055286 SHA512 a3fe5a0f2e96828d22a75e4daf36eecaa8d903efe8c8a5f6972178f52dc01cac5df5f3e1d8a2cf684d6b78a9c10c207b655a296ceb456dec9f0e502142de094b WHIRLPOOL 67b143c9fc13182f12fdbaa8f73ac743bc0c82f6393648acea2a80081bb4f8cf5625bbe5f083e44bfacb95e8445f8e559a03a3991cd44de7d7f5d863e710499a

diff --git a/app-i18n/dbskkd-cdb/dbskkd-cdb-3.00.ebuild b/app-i18n/dbskkd-cdb/dbskkd-cdb-3.00.ebuild
new file mode 100644
index 00000000000..f0b65cf2df1
--- /dev/null
+++ b/app-i18n/dbskkd-cdb/dbskkd-cdb-3.00.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit flag-o-matic toolchain-funcs user
+
+DESCRIPTION="SKK dictionary server based on cdb"
+HOMEPAGE="https://github.com/jj1bdx/dbskkd-cdb"
+SRC_URI="https://github.com/jj1bdx/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="|| (
+		dev-db/tinycdb
+		dev-db/cdb
+	)"
+RDEPEND="app-i18n/skk-jisyo[cdb]
+	sys-apps/xinetd"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-gentoo.patch
+)
+DOCS="*.md"
+
+pkg_setup() {
+	enewuser dbskkd -1 -1 -1
+}
+
+src_prepare() {
+	default
+
+	local cdblib=()
+	if has_version dev-db/cdb; then
+		append-cflags -I"${EPREFIX}"/usr/include/cdb
+		local a
+		for a in cdb.a alloc.a buffer.a byte.a unix.a; do
+			cdblib+=( "${EPREFIX}"/usr/$(get_libdir)/${a} )
+		done
+	else
+		cdblib+=( -lcdb )
+	fi
+
+	sed -i "/^CDBLIB/s|=.*$|= ${cdblib[*]}|" Makefile
+}
+
+src_compile() {
+	emake \
+		CC="$(tc-getCC)" \
+		COMPAT="-DJISYO_FILE=\\\"${EPREFIX}/usr/share/skk/SKK-JISYO.L.cdb\\\""
+}
+
+src_install() {
+	exeinto /usr/libexec
+	doexe ${PN}
+	einstalldocs
+
+	insinto /etc/xinetd.d
+	newins "${FILESDIR}"/${PN}.xinetd ${PN}
+}


             reply	other threads:[~2017-06-25  7:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-25  7:03 Akinori Hattori [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-02  7:48 [gentoo-commits] repo/gentoo:master commit in: app-i18n/dbskkd-cdb/ Joonas Niilola
2021-07-23 20:23 Conrad Kostecki
2021-07-23 20:23 Conrad Kostecki
2017-07-23 13:29 Akinori Hattori
2017-06-25  6:57 Akinori Hattori
2017-06-25  6:57 Akinori Hattori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1498374206.9115c1092e55b1613f8b72cf78178530abae5b94.hattya@gentoo \
    --to=hattya@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox