mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-09 18:02:56 +01:00
35 lines
790 B
Bash
35 lines
790 B
Bash
# Copyright 1999-2011 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI=3
|
|
|
|
inherit multilib
|
|
|
|
DESCRIPTION="Make injecting arbitrary code and other shared objects into another process during runtime easy"
|
|
HOMEPAGE="http://0xfeedface.org/"
|
|
SRC_URI="https://github.com/downloads/lattera/libhijack/${P}.tgz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND=""
|
|
RDEPEND="${DEPEND}"
|
|
|
|
S="${WORKDIR}/${P}/src"
|
|
|
|
src_compile() {
|
|
emake || die "Failed to compile"
|
|
}
|
|
|
|
src_install() {
|
|
# emake DESTDIR="${D}" install
|
|
dolib libhijack.so.0.6
|
|
dosym libhijack.so.0.6 /usr/$(get_libdir)/libhijack.so.0
|
|
dosym libhijack.so.0.6 /usr/$(get_libdir)/libhijack.so
|
|
insinto /usr/include
|
|
doins ../include/hijack.h
|
|
doins ../include/hijack_func.h
|
|
}
|