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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sun May 5 05:00:38 2013 UTC (7 years, 4 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +12 -10 lines
Respect AR/CXX/CPPFLAGS, and use CXX when linking #464042 by Patrick Lauer.

(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)

1 hanno 1.1 # Copyright 1999-2013 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 vapier 1.2 # $Header: /var/cvsroot/gentoo-x86/app-arch/unar/unar-1.5.ebuild,v 1.1 2013/01/10 22:17:58 hanno Exp $
4 hanno 1.1
5     EAPI=4
6    
7     inherit toolchain-funcs
8    
9 vapier 1.2 DESCRIPTION="unpacker for various archiving formats, e.g. rar v3"
10 hanno 1.1 HOMEPAGE="http://unarchiver.c3.cx/"
11     SRC_URI="http://theunarchiver.googlecode.com/files/${PN}${PV}_src.zip"
12 vapier 1.2
13 hanno 1.1 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 vapier 1.2 AR="$(tc-getAR)" \
29 hanno 1.1 CC="$(tc-getCC)" \
30 vapier 1.2 CXX="$(tc-getCXX)" \
31 hanno 1.1 OBJCC="$(tc-getCC)" \
32 vapier 1.2 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 hanno 1.1 }
38    
39     src_install() {
40 vapier 1.2 dobin {ls,un}ar
41     doman ../Extra/{ls,un}ar.1
42 hanno 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20