diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2008-04-01 17:36:32 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2008-04-01 17:36:32 +0000 |
commit | ee355e5d634bc4432b9f73ea1570596da048049b (patch) | |
tree | 4b70b3c50d65c4c4d7932eea267e21ff096b41bd /app-i18n | |
parent | ia64 stable wrt #215388 (diff) | |
download | gentoo-2-ee355e5d634bc4432b9f73ea1570596da048049b.tar.gz gentoo-2-ee355e5d634bc4432b9f73ea1570596da048049b.tar.bz2 gentoo-2-ee355e5d634bc4432b9f73ea1570596da048049b.zip |
Version bumped. removed freecdb dependency, bug #210730.
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/dbskkd-cdb/ChangeLog | 10 | ||||
-rw-r--r-- | app-i18n/dbskkd-cdb/dbskkd-cdb-1.71.ebuild | 74 |
2 files changed, 82 insertions, 2 deletions
diff --git a/app-i18n/dbskkd-cdb/ChangeLog b/app-i18n/dbskkd-cdb/ChangeLog index 63501f602ba5..6693ac29dde9 100644 --- a/app-i18n/dbskkd-cdb/ChangeLog +++ b/app-i18n/dbskkd-cdb/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-i18n/dbskkd-cdb -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/dbskkd-cdb/ChangeLog,v 1.11 2007/02/03 18:00:09 flameeyes Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/dbskkd-cdb/ChangeLog,v 1.12 2008/04/01 17:36:32 matsuu Exp $ + +*dbskkd-cdb-1.71 (01 Apr 2008) + + 01 Apr 2008; MATSUU Takuto <matsuu@gentoo.org> +dbskkd-cdb-1.71.ebuild: + Version bumped. + Removed freecdb dependency, bug #210730. 03 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: Regenerate digest in Manifest2 format. diff --git a/app-i18n/dbskkd-cdb/dbskkd-cdb-1.71.ebuild b/app-i18n/dbskkd-cdb/dbskkd-cdb-1.71.ebuild new file mode 100644 index 000000000000..4965fbf07fd5 --- /dev/null +++ b/app-i18n/dbskkd-cdb/dbskkd-cdb-1.71.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/dbskkd-cdb/dbskkd-cdb-1.71.ebuild,v 1.1 2008/04/01 17:36:32 matsuu Exp $ + +inherit eutils multilib toolchain-funcs + +MY_P="${P}dev" +DESCRIPTION="Yet another Dictionary server for the SKK Japanese-input software" +HOMEPAGE="http://www.ne.jp/asahi/bdx/info/software/jp-dbskkd.html" +SRC_URI="http://www.ne.jp/asahi/bdx/info/software/${MY_P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="dev-db/cdb + || ( + >=app-i18n/skk-jisyo-200705 + app-i18n/skk-jisyo-cdb + )" +RDEPEND="sys-process/daemontools + sys-apps/ucspi-tcp" +PROVIDE="virtual/skkserv" + +S="${WORKDIR}/${MY_P}" + +JISYO_FILE="/usr/share/skk/SKK-JISYO.L.cdb" + +pkg_setup() { + if has_version '>=app-i18n/skk-jisyo-200705' && ! built_with_use '>=app-i18n/skk-jisyo-200705' cdb ; then + eerror "multiskkserv requires skk-jisyo to be built with cdb support. Please add" + eerror "'cdb' to your USE flags, and re-emerge app-i18n/skk-jisyo." + die "Missing cdb USE flag." + fi + # from READMEJP + enewuser dbskkd -1 -1 -1 nofiles + enewuser svlog -1 -1 -1 nofiles +} + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e 's/IP\.ADD\.RE\.SS/127.0.0.1/' \ + -e 's:/usr/local:/usr:' \ + run.example || die +} + +src_compile() { + $(tc-getCC) ${CFLAGS} \ + -DSERVERDIR="\"/service/dbskkd-cdb/root\"" \ + -o dbskkd-cdb dbskkd-cdb.c /usr/$(get_libdir)/{cdb,unix,byte}.a || die +} + +src_install() { + exeinto /usr/libexec; doexe dbskkd-cdb || die + dodoc CHANGES READMEJP + + exeinto /var/dbskkd-cdb/service; newexe run.example run || die + exeinto /var/dbskkd-cdb/service/log; newexe run.log.example run || die + keepdir /var/dbskkd-cdb/service/log/main + insinto /var/dbskkd-cdb/service/root; doins "${JISYO_FILE}" + fperms +t /var/dbskkd-cdb/service + fowners -R svlog:nofiles /var/dbskkd-cdb/service/log +} + +pkg_postinst() { + elog "To start dbskkd-cdb at boot you have to enable the /etc/init.d/svscan" + elog "rc file and create the following link:" + elog + elog "# ln -sf /var/dbskkd-cdb/service /service/dbskkd-cdb" + elog +} |