mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-19 05:11:05 +02:00
upx-ucl: 3.95 bump
This commit is contained in:
parent
1561511e5f
commit
29ff7311e2
2 changed files with 52 additions and 0 deletions
2
app-arch/upx-ucl/Manifest
Normal file
2
app-arch/upx-ucl/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST upx-lzma-sdk-3.95.tar.gz 109697 BLAKE2B 437e4bb557f51206696bb4eedb5af63f0f9a4ba2b5627f2ccaa278716d194ed4ae2cfb9837d75aa1f0c813255361001a6f5ddf16e7c4785a9a49baf5a16c8b2b SHA512 e7a42b0e1a47fda6ebf037aef947d9bf69308c4fdce9637c54abf7e5bff865c7beb813f79b28a40495d42da408173a0c42a572d5a1b06a8b7c6faab7d5874140
|
||||
DIST upx-ucl-3.95.tar.gz 1663470 BLAKE2B 58d223a2f56a8b981d4bddb5f6588d21b9b5ae0df396de1f67af1b6206b9098c88be19f9f6476ef682c62c020570368f0175283b0fc427ca6420ce41210bfe2c SHA512 9676c4373ad7f5ef7b2ba36134ec60cd0c53ac989d559ef4b201be93167a984a9e0ba6343dbfdd029e8b29897fd9591b6f7c08f41ee681ff48f852a8ed2465da
|
||||
50
app-arch/upx-ucl/upx-ucl-3.95.ebuild
Normal file
50
app-arch/upx-ucl/upx-ucl-3.95.ebuild
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit eutils toolchain-funcs flag-o-matic
|
||||
|
||||
LZMA_VER=${PV}
|
||||
MY_P="${P/-ucl}"
|
||||
|
||||
DESCRIPTION="Ultimate Packer for eXecutables (free version using UCL compression and not NRV)"
|
||||
HOMEPAGE="http://upx.sourceforge.net/"
|
||||
SRC_URI="https://github.com/upx/upx/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/upx/upx-lzma-sdk/archive/v${LZMA_VER}.tar.gz -> upx-lzma-sdk-${LZMA_VER}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+ UPX-exception" # Read the exception before applying any patches
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="zlib"
|
||||
|
||||
RDEPEND=">=dev-libs/ucl-1.02
|
||||
!app-arch/upx
|
||||
!app-arch/upx-bin"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
#do not overwrite LZMA variables
|
||||
echo > src/stub/src/c/Makevars.lzma
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use zlib && append-cppflags -DWITH_ZLIB=1
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CXX
|
||||
emake UPX_LZMADIR="${WORKDIR}/upx-lzma-sdk-${LZMA_VER}" UPX_LZMA_VERSION=${LZMA_VER} all
|
||||
emake 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
|
||||
}
|
||||
Loading…
Reference in a new issue