1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit bash-completion-r1 toolchain-funcs
8 DESCRIPTION="Unpacker for various archiving formats, e.g. rar v3"
9 HOMEPAGE="https://unarchiver.c3.cx/"
11 https://github.com/MacPaw/XADMaster/archive/v${PV}/XADMaster-${PV}.tar.gz
12 https://github.com/MacPaw/universal-detector/archive/1.1/universal-detector-1.1.tar.gz
25 gnustep-base/gnustep-base
31 gnustep-base/gnustep-make[native-exceptions]
34 S="${WORKDIR}/XADMaster-${PV}"
38 # avoid jobserver warning "make[1]: warning: jobserver unavailable: using -j1"
39 sed -i -e 's:make:$(MAKE):g' Makefile.linux || die
40 mv "${WORKDIR}/universal-detector-1.1" "${WORKDIR}/UniversalDetector" || die
44 emake -f Makefile.linux \
50 CXXFLAGS="${CXXFLAGS}" \
51 OBJCFLAGS="${CFLAGS}" \
53 LDFLAGS="-Wl,--whole-archive -fexceptions -fgnu-runtime ${LDFLAGS}"
58 doman Extra/{ls,un}ar.1
59 dobashcomp Extra/{ls,un}ar.bash_completion