summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2013-03-13 22:18:54 +0000
committerTom Wijsman <tomwij@gentoo.org>2013-03-13 22:18:54 +0000
commitb0758bf86297958ca907cf3f4b0179ec30bfafea (patch)
tree64ebc70af215c45bcb657c33efdf0ca04cf4e343 /app-arch/upx-ucl
parentNon-maintainer commit, version bump to 3.09. (diff)
downloadgentoo-2-b0758bf86297958ca907cf3f4b0179ec30bfafea.tar.gz
gentoo-2-b0758bf86297958ca907cf3f4b0179ec30bfafea.tar.bz2
gentoo-2-b0758bf86297958ca907cf3f4b0179ec30bfafea.zip
Non-maintainer commit, version bump to 3.09.
(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'app-arch/upx-ucl')
-rw-r--r--app-arch/upx-ucl/ChangeLog10
-rw-r--r--app-arch/upx-ucl/upx-ucl-3.09.ebuild44
2 files changed, 51 insertions, 3 deletions
diff --git a/app-arch/upx-ucl/ChangeLog b/app-arch/upx-ucl/ChangeLog
index 604f6b86c0ca..fc6271ce148f 100644
--- a/app-arch/upx-ucl/ChangeLog
+++ b/app-arch/upx-ucl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-arch/upx-ucl
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/upx-ucl/ChangeLog,v 1.24 2012/05/10 14:48:26 ago Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/upx-ucl/ChangeLog,v 1.25 2013/03/13 22:18:54 tomwij Exp $
+
+*upx-ucl-3.09 (13 Mar 2013)
+
+ 13 Mar 2013; Tom Wijsman <TomWij@gentoo.org> +upx-ucl-3.09.ebuild:
+ Non-maintainer commit, version bump to 3.09.
10 May 2012; Agostino Sarubbo <ago@gentoo.org> -upx-ucl-3.07.ebuild:
Remove old
@@ -107,4 +112,3 @@
01 Nov 2003; Brandy Westcott brandy@gentoo.org upx-ucl-1.24.ebuild:
Initial import. Thanks to Daniel Black <dragonheart@tpg.com.au> for the
ebuild. Closes bug #31493.
-
diff --git a/app-arch/upx-ucl/upx-ucl-3.09.ebuild b/app-arch/upx-ucl/upx-ucl-3.09.ebuild
new file mode 100644
index 000000000000..20a2b93b628d
--- /dev/null
+++ b/app-arch/upx-ucl/upx-ucl-3.09.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/upx-ucl/upx-ucl-3.09.ebuild,v 1.1 2013/03/13 22:18:54 tomwij Exp $
+
+EAPI="5"
+
+inherit eutils toolchain-funcs flag-o-matic
+
+LZMA_VER=465
+#LZMA_VER=920
+MY_P="${P/-ucl}-src"
+DESCRIPTION="Ultimate Packer for eXecutables (free version using UCL compression and not NRV)"
+HOMEPAGE="http://upx.sourceforge.net/"
+SRC_URI="http://upx.sourceforge.net/download/${MY_P}.tar.bz2
+ lzma? ( mirror://sourceforge/sevenzip/lzma${LZMA_VER}.tar.bz2 )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE="lzma zlib"
+
+RDEPEND=">=dev-libs/ucl-1.02
+ !app-arch/upx
+ !app-arch/upx-bin"
+DEPEND="${RDEPEND}
+ dev-lang/perl"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ use zlib && append-cppflags -DWITH_ZLIB=1
+}
+
+src_compile() {
+ tc-export CXX
+ emake UPX_LZMADIR="${WORKDIR}" all
+}
+
+src_install() {
+ newbin src/upx.out upx
+ dodoc BUGS NEWS PROJECTS README* THANKS TODO doc/*.txt
+ dohtml doc/upx.html
+ doman doc/upx.1
+}