mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 11:00:48 +02:00
libhijack: update, fixup
This commit is contained in:
parent
e6fdb91457
commit
f05484d742
3 changed files with 10 additions and 45 deletions
|
|
@ -1,2 +1 @@
|
|||
DIST libhijack-0.5.2.tgz 19238 SHA256 ff6cd2b848d91a770d807b64df35c1caf6d74061c5a3b26064f28dc81599736c
|
||||
DIST libhijack-0.6.tgz 21696 SHA256 d1847d538bd4d1615620a05e01fd971dd7bb2d93ef42406889c61075e32e566c SHA512 ba096fb62fce63472756da9b603aec96dcd0b90d2091da78cf6c2517af815dca73cc2c3fff1e17497fbac79a852cc7afa26a06fdb753b7405a0cb5765e86b2dc WHIRLPOOL 92517826528fbbedb5075931b0cf94285f0aecb4b7910a42973d96b07fdaa322fd4736b286fb8ec672dc537574c85f9f11f97afb124b0e3689db408269143904
|
||||
DIST libhijack-0.6.1.tar.gz 29351 SHA256 af8aa5ff73014aed4c8cefad988456d1a61d7aaf5f1bab80c253f96b7a8ba403 SHA512 460e17ab1eda5300defcd59bd64c046e1050b66efc8da54332803cc70282c2f37e8a73beddaaaef477b8de56e3f5d65528c3c10ca01dbfed9b6f236957f01d28 WHIRLPOOL 292f05c2247f0b6edc88f23abd91105c82d7c0d1ea14e02d2a8a10a92839200b31c0ffc53363f6428009d04d08926ceb7a1df80675d13c7f0d8ed12ccb5472f5
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=3
|
||||
EAPI=6
|
||||
|
||||
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"
|
||||
SRC_URI="https://github.com/SoldierX/libhijack/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
|
@ -20,14 +20,15 @@ RDEPEND="${DEPEND}"
|
|||
|
||||
S="${WORKDIR}/${P}/src"
|
||||
|
||||
src_compile() {
|
||||
emake || die "Failed to compile"
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
sed -i "s/-g -Wall -DDEBUG/${CFLAGS}/" Makefile || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib libhijack.so.0.5
|
||||
dosym libhijack.so.0.5 /usr/$(get_libdir)/libhijack.so.0
|
||||
dosym libhijack.so.0.5 /usr/$(get_libdir)/libhijack.so
|
||||
dolib libhijack.so.0.6.1
|
||||
dosym libhijack.so.0.6.1 /usr/$(get_libdir)/libhijack.so.0
|
||||
dosym libhijack.so.0.6.1 /usr/$(get_libdir)/libhijack.so
|
||||
insinto /usr/include
|
||||
doins ../include/hijack.h
|
||||
doins ../include/hijack_func.h
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
# 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
|
||||
}
|
||||
Loading…
Reference in a new issue