/[gentoo-x86]/app-i18n/dbskkd-cdb/dbskkd-cdb-2.00.ebuild
Gentoo

Contents of /app-i18n/dbskkd-cdb/dbskkd-cdb-2.00.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri Jun 1 00:14:44 2012 UTC (2 years, 1 month ago) by zmedico
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +3 -3 lines
inherit user for enewuser

(Portage version: 2.2.0_alpha108_p9/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-i18n/dbskkd-cdb/dbskkd-cdb-2.00.ebuild,v 1.5 2011/02/13 19:14:26 armin76 Exp $
4
5 EAPI="2"
6 inherit eutils multilib toolchain-funcs user
7
8 DESCRIPTION="Yet another Dictionary server for the SKK Japanese-input software"
9 HOMEPAGE="http://dbskkd-cdb.googlecode.com/"
10 SRC_URI="http://dbskkd-cdb.googlecode.com/files/${P}.tar.gz"
11
12 LICENSE="BSD-2"
13 SLOT="0"
14 KEYWORDS="amd64 ppc x86"
15 IUSE=""
16
17 DEPEND="|| ( dev-db/cdb dev-db/tinycdb )"
18 RDEPEND=">=app-i18n/skk-jisyo-200705[cdb]
19 sys-apps/xinetd"
20
21 pkg_setup() {
22 enewuser dbskkd -1 -1 -1
23 }
24
25 src_prepare() {
26 epatch "${FILESDIR}/${P}-gentoo.patch"
27 sed -i -e "/^CDBLIB/s:lib:$(get_libdir):" Makefile || die
28 if has_version dev-db/cdb ; then
29 sed -i -e "/^CDBLIB/s:$: /usr/$(get_libdir)/byte.a /usr/$(get_libdir)/unix.a:" Makefile || die
30 fi
31 }
32
33 src_compile() {
34 emake CC="$(tc-getCC)" || die
35 }
36
37 src_install() {
38 emake DESTDIR="${D}" install || die
39
40 insinto /etc/xinetd.d
41 newins "${FILESDIR}/${PN}.xinetd" ${PN} || die
42
43 dodoc CHANGES README* *.txt
44 }

  ViewVC Help
Powered by ViewVC 1.1.20