/[gentoo-x86]/app-arch/unar/unar-1.6.ebuild
Gentoo

Contents of /app-arch/unar/unar-1.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Aug 30 14:33:28 2014 UTC (5 years, 11 months ago) by nimiux
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for amd64 wrt bug #513742

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key D628E536)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-arch/unar/unar-1.6.ebuild,v 1.2 2014/03/02 21:28:19 dilfridge Exp $
4
5 EAPI=5
6
7 inherit toolchain-funcs
8
9 DESCRIPTION="unpacker for various archiving formats, e.g. rar v3"
10 HOMEPAGE="http://unarchiver.c3.cx/"
11 SRC_URI="http://theunarchiver.googlecode.com/files/${PN}${PV}_src.zip"
12
13 LICENSE="LGPL-2.1"
14 SLOT="0"
15 KEYWORDS="amd64"
16 IUSE=""
17
18 RDEPEND="gnustep-base/gnustep-base
19 >=gnustep-base/gnustep-make-2.6.0[native-exceptions]
20 dev-libs/icu:="
21 DEPEND="${RDEPEND}
22 sys-devel/gcc[objc]"
23
24 S="${WORKDIR}/The Unarchiver/XADMaster"
25
26 src_compile() {
27 emake -f Makefile.linux \
28 AR="$(tc-getAR)" \
29 CC="$(tc-getCC)" \
30 CXX="$(tc-getCXX)" \
31 OBJCC="$(tc-getCC)" \
32 C_OPTS="-std=gnu99 ${CFLAGS} ${CPPFLAGS}" \
33 CXX_OPTS="${CXXFLAGS} ${CPPFLAGS}" \
34 OBJC_OPTS="-std=gnu99 ${CFLAGS} ${CPPFLAGS}" \
35 LD="$(tc-getCXX)" \
36 LDFLAGS="-Wl,--whole-archive -fexceptions -fgnu-runtime ${LDFLAGS}"
37 }
38
39 src_install() {
40 dobin {ls,un}ar
41 doman ../Extra/{ls,un}ar.1
42 }

  ViewVC Help
Powered by ViewVC 1.1.20