/[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.1 - (hide annotations) (download)
Sun Feb 15 04:27:35 2009 UTC (11 years, 1 month ago) by matsuu
Branch: MAIN
Version bumped. Fixed LICENSE. Changed HOMEPAGE.
(Portage version: 2.1.6.7/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     # $Header: /var/cvsroot/gentoo-x86/app-i18n/dbskkd-cdb/dbskkd-cdb-1.71.ebuild,v 1.5 2008/04/12 11:27:25 nixnut Exp $
4    
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     KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~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