/[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.2 - (hide annotations) (download)
Sat Aug 29 17:17:07 2009 UTC (10 years, 7 months ago) by klausman
Branch: MAIN
Changes since 1.1: +2 -2 lines
Stable on alpha, bug #281579
(Portage version: 2.1.6.13/cvs/Linux x86_64)

1 matsuu 1.1 # Copyright 1999-2009 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 klausman 1.2 # $Header: /var/cvsroot/gentoo-x86/app-i18n/dbskkd-cdb/dbskkd-cdb-2.00.ebuild,v 1.1 2009/02/15 04:27:35 matsuu Exp $
4 matsuu 1.1
5     EAPI="2"
6     inherit eutils multilib toolchain-funcs
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 klausman 1.2 KEYWORDS="alpha ~amd64 ~ppc ~sparc ~x86"
15 matsuu 1.1 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