summaryrefslogtreecommitdiff
blob: ed5555f65173fdb3d9cb21a6062e70356521b3de (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Will Glynn <delta407@lerfjhax.com>
# $Header: /var/cvsroot/gentoo-x86/app-misc/upx/upx-1.21.ebuild,v 1.2 2002/07/09 18:24:51 sunflare Exp $

DESCRIPTION="upx is the Ultimate Packer for eXecutables"
SRC_URI="http://upx.sourceforge.net/download/${P}-src.tar.gz"
HOMEPAGE="http://upx.sourceforge.net/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"

DEPEND="=dev-libs/ucl-1.01"
RDEPEND=${DEPEND}

src_compile() {
	cd ${S}/src
	export UCLDIR=/usr/src/ucl-1.01
	export HOME=/usr
	export EXTRA_DEFS=-DWITH_UCL
	export arch=foo
	emake -e || die
}

src_install() {
	dobin ${S}/src/upx
}