app-crypt/elfcrypt - 20200910 (pentoo)

Search

Install

Install this version:

emerge -a =app-crypt/elfcrypt-20200910

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-crypt/elfcrypt-20200910

Or alternatively:

emerge --autounmask-write -a =app-crypt/elfcrypt-20200910

Package Information

Description:
A Simple ELF crypter
Homepage:
https://github.com/droberson/ELFcrypt
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
20200910 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="A Simple ELF crypter"
HOMEPAGE="https://github.com/droberson/ELFcrypt"

HASH_COMMIT="1699e97e07ac3d82e7845dc3e0eb8f35a8bf886d"

SRC_URI="https://github.com/droberson/ELFcrypt/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/ELFcrypt-${HASH_COMMIT}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"

src_prepare() {
	sed -e "s/gcc/$(tc-getCC)/" \
		-e "s/-o ELFcrypt/${CFLAGS} -o ELFcrypt/" \
		-e "s/-o ELFcrypt2/${CFLAGS} -o ELFcrypt2/" \
		-e "s/^\(all:.*\)example/\1/" \
		-i Makefile || die

	default
}

src_install() {
	doheader ELFcrypt.h
	dobin ELFcrypt
	dobin ELFcrypt2
	dodoc README.md
	if use examples; then
		dodoc example.c
		docompress -x /usr/share/doc/${PF}/example.c
	fi
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-crypt/elfcrypt | euse -E <flag> -p app-crypt/elfcrypt | euse -D <flag> -p app-crypt/elfcrypt

Global/Standard Flags

Inherited Eclasses

Manifest for 20200910

Type File Size Source URLs
DIST elfcrypt-20200910.tar.gz 8641 bytes https://github.com/droberson/ELFcrypt/archive/1699e97e07ac3d82e7845dc3e0eb8f35a8bf886d.tar.gz