diff options
author | 2017-12-29 14:36:53 +0100 | |
---|---|---|
committer | 2017-12-29 18:01:41 +0100 | |
commit | 33d4e57986c60d7d2e0ef1be0616f0b43f36dd8d (patch) | |
tree | 0fb1411f89dafbc504c885d1b5a107bf5f3c572c /app-arch/unmakeself | |
parent | elisp.eclass: Inherit epatch rather than eutils. (diff) | |
download | gentoo-33d4e57986c60d7d2e0ef1be0616f0b43f36dd8d.tar.gz gentoo-33d4e57986c60d7d2e0ef1be0616f0b43f36dd8d.tar.bz2 gentoo-33d4e57986c60d7d2e0ef1be0616f0b43f36dd8d.zip |
app-arch/unmakeself: Port to EAPI 6
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-arch/unmakeself')
-rw-r--r-- | app-arch/unmakeself/unmakeself-1.1.ebuild | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/app-arch/unmakeself/unmakeself-1.1.ebuild b/app-arch/unmakeself/unmakeself-1.1.ebuild index cdf879bc73c6..716482427e1b 100644 --- a/app-arch/unmakeself/unmakeself-1.1.ebuild +++ b/app-arch/unmakeself/unmakeself-1.1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=2 -inherit toolchain-funcs +EAPI=6 + +inherit flag-o-matic toolchain-funcs DESCRIPTION="Makeself archive extractor" HOMEPAGE="http://www.freshports.org/archivers/unmakeself" @@ -13,12 +14,21 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="" -DEPEND="app-arch/libarchive[bzip2,zlib]" +RDEPEND="app-arch/libarchive:=[bzip2,zlib]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + append-cppflags $($(tc-getPKG_CONFIG) --cflags libarchive) + export LDLIBS=$($(tc-getPKG_CONFIG) --libs libarchive) + + tc-export CC +} src_compile() { - emake CC="$(tc-getCC)" LDLIBS=-larchive ${PN} || die "emake failed" + emake ${PN} } src_install() { - dobin unmakeself || die "dobin failed" + dobin unmakeself } |