summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/unar/ChangeLog7
-rw-r--r--app-arch/unar/unar-1.8.1.ebuild42
2 files changed, 48 insertions, 1 deletions
diff --git a/app-arch/unar/ChangeLog b/app-arch/unar/ChangeLog
index 58f6b35abe10..10ab6c7f5b22 100644
--- a/app-arch/unar/ChangeLog
+++ b/app-arch/unar/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-arch/unar
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/unar/ChangeLog,v 1.8 2014/08/30 14:33:28 nimiux Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/unar/ChangeLog,v 1.9 2014/12/25 13:02:05 hanno Exp $
+
+*unar-1.8.1 (25 Dec 2014)
+
+ 25 Dec 2014; <hanno@gentoo.org> +unar-1.8.1.ebuild:
+ Bump, respect CFLAGS.
30 Aug 2014; Chema Alonso <nimiux@gentoo.org> unar-1.6.ebuild:
Stable for amd64 wrt bug #513742
diff --git a/app-arch/unar/unar-1.8.1.ebuild b/app-arch/unar/unar-1.8.1.ebuild
new file mode 100644
index 000000000000..b66cae260386
--- /dev/null
+++ b/app-arch/unar/unar-1.8.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/unar/unar-1.8.1.ebuild,v 1.1 2014/12/25 13:02:05 hanno Exp $
+
+EAPI=5
+
+inherit toolchain-funcs
+
+DESCRIPTION="unpacker for various archiving formats, e.g. rar v3"
+HOMEPAGE="http://unarchiver.c3.cx/"
+SRC_URI="http://theunarchiver.googlecode.com/files/${PN}${PV}_src.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="gnustep-base/gnustep-base
+ >=gnustep-base/gnustep-make-2.6.0[native-exceptions]
+ dev-libs/icu:="
+DEPEND="${RDEPEND}
+ sys-devel/gcc[objc]"
+
+S="${WORKDIR}/The Unarchiver/XADMaster"
+
+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
+}