diff options
Diffstat (limited to 'games-util/umodpack/umodpack-0.5_beta16.ebuild')
-rw-r--r-- | games-util/umodpack/umodpack-0.5_beta16.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/games-util/umodpack/umodpack-0.5_beta16.ebuild b/games-util/umodpack/umodpack-0.5_beta16.ebuild new file mode 100644 index 000000000000..7f00f4518fb7 --- /dev/null +++ b/games-util/umodpack/umodpack-0.5_beta16.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2003 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.1 2003/09/10 18:53:23 vapier 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" + +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 +} |