diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2013-01-04 07:12:10 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2013-01-04 07:12:10 +0000 |
commit | 698cf4cb57ba6b5ead59a220535944bcc768adad (patch) | |
tree | af8e4d577998e69e25480531d8c799b39a2a46ed /dev-libs/udis86 | |
parent | Version bump. (diff) | |
download | gentoo-2-698cf4cb57ba6b5ead59a220535944bcc768adad.tar.gz gentoo-2-698cf4cb57ba6b5ead59a220535944bcc768adad.tar.bz2 gentoo-2-698cf4cb57ba6b5ead59a220535944bcc768adad.zip |
Build as shared library, bug#449812
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-libs/udis86')
-rw-r--r-- | dev-libs/udis86/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/udis86/udis86-1.7-r1.ebuild | 42 |
2 files changed, 49 insertions, 3 deletions
diff --git a/dev-libs/udis86/ChangeLog b/dev-libs/udis86/ChangeLog index bc6e236432b9..85354184ff80 100644 --- a/dev-libs/udis86/ChangeLog +++ b/dev-libs/udis86/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/udis86 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/udis86/ChangeLog,v 1.13 2012/05/24 03:19:12 aballier Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/udis86/ChangeLog,v 1.14 2013/01/04 07:12:10 alonbl Exp $ + +*udis86-1.7-r1 (04 Jan 2013) + + 04 Jan 2013; Alon Bar-Lev <alonbl@gentoo.org> +udis86-1.7-r1.ebuild: + Build as shared library, bug#449812 24 May 2012; Alexis Ballier <aballier@gentoo.org> udis86-1.7.ebuild: keyword ~amd64-fbsd @@ -47,4 +52,3 @@ 25 Apr 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> +udis86-1.7.ebuild, +metadata.xml: Initial import from sunrise, bug #235361. Original ebuild from Olof Frahm. - diff --git a/dev-libs/udis86/udis86-1.7-r1.ebuild b/dev-libs/udis86/udis86-1.7-r1.ebuild new file mode 100644 index 000000000000..59ad4b83be60 --- /dev/null +++ b/dev-libs/udis86/udis86-1.7-r1.ebuild @@ -0,0 +1,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.1 2013/01/04 07:12:10 alonbl 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 +} |