Files
gentoo-zh/dev-util/execstack/execstack-0_pre20130503.ebuild
T
Zakk f9b06e3183 treewide: HOMEPAGE and metadata.xml hygiene
http->https and moved/renamed HOMEPAGE URLs; document local USE flags, correct
remote-ids, fix the DOCTYPE line, and normalise metadata.xml whitespace. Pure
metadata: no SRC_URI, ebuild logic, or Manifest changes.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-07-17 11:26:56 +10:00

32 lines
621 B
Bash

# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="set the executable stack flag of ELF binaries and libraries"
HOMEPAGE="https://people.redhat.com/jakub/prelink/"
SRC_URI="https://people.redhat.com/jakub/prelink/prelink-20130503.tar.bz2"
S="${WORKDIR}"/prelink
LICENSE="GPL-1+"
SLOT="0"
KEYWORDS="~amd64"
src_prepare() {
default
# fix libelf detection
sed -i 's/#include <string.h>/&\n#include <unistd.h>/' m4/libelf.m4 || die
eautoreconf
}
src_compile() {
cd src
emake execstack
}
src_install() {
dobin src/execstack
}