/[gentoo-x86]/dev-libs/libelf/libelf-0.8.13-r1.ebuild
Gentoo

Diff of /dev-libs/libelf/libelf-0.8.13-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.8 Revision 1.9
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-libs/libelf/libelf-0.8.13-r1.ebuild,v 1.8 2012/04/26 14:06:14 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-libs/libelf/libelf-0.8.13-r1.ebuild,v 1.9 2012/05/05 18:22:24 grobian Exp $
4 4
5EAPI=2 5EAPI="3"
6
6inherit eutils multilib autotools 7inherit eutils multilib autotools
7 8
8DESCRIPTION="A ELF object file access library" 9DESCRIPTION="A ELF object file access library"
9HOMEPAGE="http://www.mr511.de/software/" 10HOMEPAGE="http://www.mr511.de/software/"
10SRC_URI="http://www.mr511.de/software/${P}.tar.gz" 11SRC_URI="http://www.mr511.de/software/${P}.tar.gz"
11 12
12LICENSE="LGPL-2" 13LICENSE="LGPL-2"
13SLOT="0" 14SLOT="0"
14KEYWORDS="alpha amd64 hppa ppc sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" 15KEYWORDS="alpha amd64 hppa ppc sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
15IUSE="debug nls elibc_FreeBSD" 16IUSE="debug nls elibc_FreeBSD"
16 17
17RDEPEND="!dev-libs/elfutils" 18RDEPEND="!dev-libs/elfutils"
18DEPEND="nls? ( sys-devel/gettext )" 19DEPEND="nls? ( sys-devel/gettext )"
19 20
35 $(use_enable debug) 36 $(use_enable debug)
36} 37}
37 38
38src_install() { 39src_install() {
39 emake \ 40 emake \
40 prefix="${D}usr" \ 41 prefix="${ED}usr" \
41 libdir="${D}usr/$(get_libdir)" \ 42 libdir="${ED}usr/$(get_libdir)" \
42 install \ 43 install \
43 install-compat || die 44 install-compat \
45 -j1 || die
44 46
45 dodoc ChangeLog README || die 47 dodoc ChangeLog README || die
46 48
47 # Stop libelf from stamping on the system nlist.h 49 # Stop libelf from stamping on the system nlist.h
48 use elibc_FreeBSD && rm "${D}"/usr/include/nlist.h 50 use elibc_FreeBSD && rm "${ED}"/usr/include/nlist.h
49} 51}

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20