Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145049 - app-arch/upx-2.02 version bump
Summary: app-arch/upx-2.02 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-08-25 00:49 UTC by Michiel Hazelhof
Modified: 2006-09-08 18:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Upx 2.02 ebuild (upx-2.02.ebuild,791 bytes, text/plain)
2006-08-25 00:49 UTC, Michiel Hazelhof
Details
Upx 2.02 ebuild, updated (upx-2.02.ebuild,801 bytes, text/plain)
2006-08-25 01:11 UTC, Michiel Hazelhof
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michiel Hazelhof 2006-08-25 00:49:16 UTC
Here is an ebuild which compiles UPX-2.02, not like 1.93 (which takes the binairy version).

It also depends on >=dev-libs/ucl-1.03

I have made sure the documentation gets compiled since the source version maintains a few different folders than the binairy version.

Greetings,

Michiel Hazelhof
Comment 1 Michiel Hazelhof 2006-08-25 00:49:55 UTC
Created attachment 95046 [details]
Upx 2.02 ebuild
Comment 2 Michiel Hazelhof 2006-08-25 00:53:25 UTC
Comment on attachment 95046 [details]
Upx 2.02 ebuild 

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/upx/upx-2.02.ebuild,v 1.2 2006/08/25 08:51:55 Michiel hazelhof Exp $

MY_P="${P}-src"
DESCRIPTION="Ultimate Packer for eXecutables"
HOMEPAGE="http://upx.sourceforge.net/"
SRC_URI="http://upx.sourceforge.net/download/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~s390 ~x86 ~amd64"
IUSE=""
RESTRICT="nostrip"

DEPEND="!app-arch/upx-ucl
        >=dev-libs/ucl-1.03"

S="${WORKDIR}/upx-2.02-src/src"

src_install() {
        # Let's compile the source and make sure the documentation does something usefull
        into /opt
        mv upx.out upx
        dobin upx || die
        cd ../doc
        make
        doman upx.1
        dodoc upx.doc
        dohtml upx.html
        cd ..
        dodoc BUGS NEWS README* THANKS TODO
}
Comment 3 Michiel Hazelhof 2006-08-25 00:53:27 UTC
Comment on attachment 95046 [details]
Upx 2.02 ebuild 

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/upx/upx-2.02.ebuild,v 1.2 2006/08/25 08:51:55 Michiel hazelhof Exp $

MY_P="${P}-src"
DESCRIPTION="Ultimate Packer for eXecutables"
HOMEPAGE="http://upx.sourceforge.net/"
SRC_URI="http://upx.sourceforge.net/download/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~s390 ~x86 ~amd64"
IUSE=""
RESTRICT="nostrip"

DEPEND="!app-arch/upx-ucl
        >=dev-libs/ucl-1.03"

S="${WORKDIR}/upx-2.02-src/src"

src_install() {
        # Let's compile the source and make sure the documentation does something usefull
        into /opt
        mv upx.out upx
        dobin upx || die
        cd ../doc
        make
        doman upx.1
        dodoc upx.doc
        dohtml upx.html
        cd ..
        dodoc BUGS NEWS README* THANKS TODO
}
Comment 4 Michiel Hazelhof 2006-08-25 01:11:14 UTC
Created attachment 95047 [details]
Upx 2.02 ebuild, updated
Comment 5 MATSUU Takuto (RETIRED) gentoo-dev 2006-09-08 18:45:26 UTC
The source version is app-arch/upx-ucl.
app-arch/upx-2.02 and app-arch/upx-ucl-2.02 in cvs.