summaryrefslogtreecommitdiff
blob: 1d62eb7f49cf7752dbf5484a2044bbdc8750f146 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/guitar/guitar-0.1.4.ebuild,v 1.28 2005/01/01 11:45:32 eradicator Exp $

MY_P=guiTAR-${PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Extraction tool, supports tar, tar.Z, tar.gz, tar.bz2, lha, lzh, rar, arj, zip, and slp formats"
HOMEPAGE="http://artemis.efes.net/disq/guitar/"
SRC_URI="http://artemis.efes.net/disq/guitar/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="gnome"

DEPEND="=x11-libs/gtk+-1.2*
	app-arch/tar
	app-arch/bzip2
	x86? ( app-arch/rar )
	app-arch/unrar
	app-arch/gzip
	app-arch/zip
	app-arch/unzip"

src_compile() {
	econf $(use_enable gnome) || die
	emake || die
}

src_install() {
	use gnome && cp ${FILESDIR}/install.gnome ${S}
	make install DESTDIR="${D}" || die
}