blob: 21fbff5be0fc274cfdb954570528a143c3929854 (
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.4 2004/04/14 20:34:21 mr_bones_ 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"
LICENSE="Artistic"
SLOT="0"
KEYWORDS="x86 ppc"
IUSE="X tcltk"
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
}
|