blob: f7412d56e5a5918b928e289ff8373927b930647a (
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
S=${WORKDIR}/${P}
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
dodoc BUGS COPYING LICENSE LOADER.TXT NEWS PROJECTS README README.SRC THANKS
}
|