/[gentoo-x86]/app-i18n/bidiv/bidiv-1.5_p4.ebuild
Gentoo

Contents of /app-i18n/bidiv/bidiv-1.5_p4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun May 20 05:22:46 2012 UTC (7 years, 8 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Import Debian patchset rev. 4 (to, for example, stop using internals of dev-libs/fribidi) since upstream is quiet.

(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)

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/bidiv/bidiv-1.5-r1.ebuild,v 1.5 2012/05/20 04:55:54 ssuominen Exp $
4
5 EAPI=4
6 inherit eutils toolchain-funcs
7
8 PATCH_LEVEL=4
9
10 DESCRIPTION="A commandline tool displaying logical Hebrew/Arabic"
11 HOMEPAGE="http://packages.qa.debian.org/b/bidiv.html"
12 SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}.orig.tar.gz
13 mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-${PATCH_LEVEL}.debian.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
18 IUSE=""
19
20 RDEPEND=">=dev-libs/fribidi-0.19.2-r2"
21 DEPEND="${DEPEND}
22 virtual/pkgconfig"
23
24 S=${WORKDIR}/${PN}
25
26 src_prepare() {
27 # Use order from "series" file:
28 local ddir=${WORKDIR}/debian/patches
29 epatch \
30 "${ddir}"/try_utf8_fix \
31 "${ddir}"/makefile \
32 "${ddir}"/fribidi_019 \
33 "${ddir}"/hyphen_minus \
34 "${ddir}"/term_size_get \
35 "${ddir}"/type_fix \
36 "${ddir}"/cast_fix
37 }
38
39 src_compile() {
40 tc-export CC
41 emake CC_OPT_FLAGS="-Wall"
42 }
43
44 src_install() {
45 dobin ${PN}
46 doman ${PN}.1
47 dodoc README WHATSNEW "${WORKDIR}"/debian/changelog
48 }

  ViewVC Help
Powered by ViewVC 1.1.20