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