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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20