blob: 3c76356f92a4463e7ee8e7370f499407de709aa2 (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/udis86/udis86-1.7-r1.ebuild,v 1.2 2013/02/14 20:15:02 ago Exp $
EAPI=4
inherit autotools eutils
DESCRIPTION="Disassembler library for the x86/-64 architecture sets."
HOMEPAGE="http://udis86.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="test"
DEPEND="test? (
amd64? ( dev-lang/yasm )
x86? ( dev-lang/yasm )
x86-fbsd? ( dev-lang/yasm )
)"
RDEPEND=""
src_prepare() {
# Don't fail tests if dev-lang/yasm is not installed, bug #318805
epatch "${FILESDIR}"/${P}-yasm.patch
eautoreconf
}
src_configure() {
econf \
--docdir="/usr/share/doc/${PF}" \
--disable-static \
--enable-shared \
--with-pic
}
src_install() {
default
find "${ED}"/usr -name '*.la' -delete
}
|