diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-arch/unar/unar-1.10.1.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-arch/unar/unar-1.10.1.ebuild')
-rw-r--r-- | app-arch/unar/unar-1.10.1.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/app-arch/unar/unar-1.10.1.ebuild b/app-arch/unar/unar-1.10.1.ebuild new file mode 100644 index 000000000000..e81a5cd05425 --- /dev/null +++ b/app-arch/unar/unar-1.10.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="unpacker for various archiving formats, e.g. rar v3" +HOMEPAGE="https://unarchiver.c3.cx/" +SRC_URI="https://unarchiver.c3.cx/downloads/${PN}${PV}_src.zip" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +RDEPEND=" + app-arch/bzip2:= + dev-libs/icu:= + gnustep-base/gnustep-base + sys-libs/zlib:= +" +DEPEND="${RDEPEND} + >=gnustep-base/gnustep-make-2.6.0[native-exceptions] + sys-devel/gcc[objc] +" + +S="${WORKDIR}/The Unarchiver/XADMaster" + +src_prepare() { + default + # avoid jobserver warning, upstream bug: + # https://bitbucket.org/WAHa_06x36/theunarchiver/issues/918/dont-call-make-from-makefile + sed -i -e 's:make:$(MAKE):g' Makefile.linux || die +} + +src_compile() { + emake -f Makefile.linux \ + AR="$(tc-getAR)" \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" \ + OBJCC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" \ + OBJCFLAGS="${CFLAGS}" \ + LD="$(tc-getCXX)" \ + LDFLAGS="-Wl,--whole-archive -fexceptions -fgnu-runtime ${LDFLAGS}" +} + +src_install() { + dobin {ls,un}ar + doman ../Extra/{ls,un}ar.1 +} |