/[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.1 - (hide annotations) (download)
Thu Jan 10 22:17:58 2013 UTC (7 years, 8 months ago) by hanno
Branch: MAIN
unar 1.5 version bump

(Portage version: 2.1.11.39/cvs/Linux x86_64, signed Manifest commit with key 0xA5880072BBB51E42)

1 hanno 1.1 # Copyright 1999-2013 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.2.ebuild,v 1.1 2012/09/17 11:12:15 hanno Exp $
4    
5     EAPI=4
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     LICENSE="LGPL-2.1"
13    
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     CC="$(tc-getCC)" \
29     OBJCC="$(tc-getCC)" \
30     C_OPTS="-std=gnu99 ${CFLAGS}" \
31     OBJC_OPTS="-std=gnu99 ${CFLAGS}" \
32     LD="$(tc-getCC)" \
33     LDFLAGS="-Wl,--whole-archive -fexceptions -fgnu-runtime \
34     ${LDFLAGS}" || die "emake failed"
35     }
36    
37     src_install() {
38     dobin unar lsar || die "dobin failed"
39     doman ../Extra/lsar.1 ../Extra/unar.1 || die "doman failed"
40     }

  ViewVC Help
Powered by ViewVC 1.1.20