forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-2.3.6, Repoman-2.3.1
- Loading branch information
Showing
1 changed file
with
9 additions
and
8 deletions.
There are no files selected for viewing
17 changes: 9 additions & 8 deletions
17
dev-libs/elfio/elfio-1.0.3.ebuild → dev-libs/elfio/elfio-1.0.3-r1.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,30 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
inherit eutils autotools | ||
EAPI=6 | ||
|
||
MY_P=ELFIO-${PV} | ||
inherit autotools | ||
|
||
MY_P="ELFIO-${PV}" | ||
DESCRIPTION="ELF reader and producer implemented as a C++ library" | ||
HOMEPAGE="http://elfio.sourceforge.net/" | ||
SRC_URI="mirror://sourceforge/elfio/${MY_P}.tar.gz" | ||
|
||
S="${WORKDIR}"/${MY_P} | ||
S="${WORKDIR}/${MY_P}" | ||
|
||
LICENSE="LGPL-2.1" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86 ~x86-fbsd" | ||
IUSE="" | ||
|
||
src_unpack() { | ||
unpack ${A} | ||
cd "${S}" | ||
PATCHES=( "${FILESDIR}/${P}-shared.patch" ) | ||
|
||
epatch "${FILESDIR}"/${P}-shared.patch | ||
src_prepare() { | ||
default | ||
eautoreconf | ||
} | ||
|
||
src_install() { | ||
emake DESTDIR="${D}" install || die "install failed" | ||
emake DESTDIR="${D}" install | ||
dodoc AUTHORS NEWS README | ||
} |