summaryrefslogtreecommitdiff
blob: 84d2190f1380bcc31758676e6a714484be5b9aa6 (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
34
35
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-util/umodpack/umodpack-0.5_beta16.ebuild,v 1.3 2004/04/12 21:25:35 wolf31o2 Exp $

inherit perl-module

MY_P="${P/_beta/b}"
DESCRIPTION="portable and useful [un]packer for Unreal Tournament's Umod files"
HOMEPAGE="http://umodpack.sourceforge.net/"
SRC_URI="mirror://sourceforge/umodpack/${MY_P}-nogui.tar.gz"
IUSE=""

LICENSE="Artistic"
SLOT="0"
KEYWORDS="x86 ppc"

DEPEND="dev-lang/perl
	dev-perl/Archive-Zip
	dev-perl/Tie-IxHash
	tcltk? ( dev-perl/perl-tk )
	X? ( virtual/x11 )"

S=${WORKDIR}/${MY_P}

src_compile() {
	# remove the stupid perl modules since we already installed em
	rm -rf {Archive-Zip,Compress-Zlib,Tie-IxHash}*
	perl-module_src_compile
}

src_install() {
	perl-module_src_install
	dobin umod
	use X && dobin xumod
}