summaryrefslogtreecommitdiff
path: root/app-arch/unmakeself
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-30 01:11:30 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-30 01:11:30 +0000
commit76dfef0cec9170000357d2f354e412daf48941fc (patch)
tree56647120c0ee20ab3494475c86722034cd194b02 /app-arch/unmakeself
parentccf84bcd604130256d1377cd58f0a634ae6ee20f (diff)
gentoo resync : 30.12.2017
Diffstat (limited to 'app-arch/unmakeself')
-rw-r--r--app-arch/unmakeself/Manifest2
-rw-r--r--app-arch/unmakeself/unmakeself-1.1.ebuild22
2 files changed, 17 insertions, 7 deletions
diff --git a/app-arch/unmakeself/Manifest b/app-arch/unmakeself/Manifest
index ebb0a24a21fa..d5b2189013b3 100644
--- a/app-arch/unmakeself/Manifest
+++ b/app-arch/unmakeself/Manifest
@@ -1,3 +1,3 @@
DIST unmakeself-1.1.tar.gz 3635 BLAKE2B 650a7f45dc5204f5ae42002addc5892fb3ce3d4d2b8b5ed343329cd34ae7086e1f680ddcb25123255feff1dd2a70d4427a30aa0a8ac7c0309b19847fefcb5390 SHA512 3e8a05a907b8807080208300f6c20577587a0e87000c6746ba457c276e4dff37c8d61227bd1db37e60ac20d9532290c4110a1204c8389a8a1e97a121b68c682b
-EBUILD unmakeself-1.1.ebuild 519 BLAKE2B 467865405a6259384cdf05962667b5a5785fc2c6b5abbc8f4ef553ce928a7a9f2a36fea946f6506345f82756df94fadc010110cada96e9a9b4cad88f7d23ae73 SHA512 da37aa52b933214d89a0fa1d4f39758d068b7499dffe7fa6c47d2785a4cf08fd209561f3c26a966d866f70cea683112a0a4ea83ba2157a0e32223e7b36ad85eb
+EBUILD unmakeself-1.1.ebuild 649 BLAKE2B e7300969dde8da439e1507cf2c6d3118235f86057a92dd44b8c9f37b150de79a9993750b9f4561a6ffc09a3a6adf001a28a6a47442cd6b93665d69b8deb95a2b SHA512 a477b5fb578a1fa96a0c4d55019d57dd24a290c5eece162b70e984455165fd66ea92663eee8a10d1eb0c0b25361df701df05e13c982d8d2bfff4ff6c07d3a8fa
MISC metadata.xml 139 BLAKE2B b4a59c22790dfec3fbcfaea41ef363401766736b68a85bedae00e1944d0a848aa97104c2f34244c0fe7b6363029281f965fc1b3545301d341cda371eaa976274 SHA512 8be912ace7468a4396eb1da00a9785030a8ce35da4357a01591876a1056fd45e44da65de2af3e1eb0506ce6551714962c40c3ae5a3aefa2ad231de35af2519be
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
}