app-crypt/elfcrypt: bump to 20200224

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Yury Martynov <email@linxon.ru>
This commit is contained in:
Yury Martynov 2020-04-01 09:37:38 +03:00
parent 4f116ccb84
commit c4add12d47
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
3 changed files with 41 additions and 2 deletions

View file

@ -0,0 +1 @@
DIST elfcrypt-20200224.tar.gz 8632 BLAKE2B 20ac419ea9061aaf414bf2aca97c247fa040512cde7b2b9ae584dc41f7ca51f063152c0046acd87d61e4c37d6938da0e3ecdc6b89d9876743664467600f41161 SHA512 15da3fcd10e294fbfcca1c7b2eeb99dce9536b59d219d0e7795077dbfac47ad12e27fa081bfcb1a939f9d1f597d2489af598db395019e0cdb153f445e724ac60

View file

@ -0,0 +1,37 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="A Simple ELF crypter"
HOMEPAGE="https://github.com/droberson/ELFcrypt"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/droberson/ELFcrypt"
else
HASH_COMMIT="f3c0121dc153d49756403cad83cbd160933edf78"
SRC_URI="https://github.com/droberson/ELFcrypt/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/ELFcrypt-${HASH_COMMIT}"
fi
LICENSE="MIT"
SLOT="0"
src_prepare() {
sed -e "s/gcc/$(tc-getCC)/" \
-e "s/-o ELFcrypt2/${CFLAGS} -o ELFcrypt2/" \
-e "s/^\(all:.*\)example/\1/" \
-i Makefile || die
default
}
src_install() {
dobin ELFcrypt
dodoc README.md
}

View file

@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -12,7 +12,7 @@ if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/droberson/ELFcrypt"
else
HASH_COMMIT="340873de5547857e37e0fc48e8fea5a8c6a04b77"
HASH_COMMIT="f3c0121dc153d49756403cad83cbd160933edf78"
SRC_URI="https://github.com/droberson/ELFcrypt/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
@ -25,6 +25,7 @@ SLOT="0"
src_prepare() {
sed -e "s/gcc/$(tc-getCC)/" \
-e "s/-o ELFcrypt2/${CFLAGS} -o ELFcrypt2/" \
-e "s/^\(all:.*\)example/\1/" \
-i Makefile || die
default