reglookup: live ebuild, issue #145

This commit is contained in:
blshkv 2017-01-12 16:28:32 +08:00
parent 310b2361a0
commit 9d36537e56
No known key found for this signature in database
GPG key ID: 9CCF6FCB8D8A14BF
2 changed files with 36 additions and 1 deletions

View file

@ -22,7 +22,7 @@ RDEPEND="sys-libs/talloc
S="${WORKDIR}/${PN}-src-${PV}"
src_prepare() {
epatch ${FILESDIR}/1.0.1-cflags.patch
epatch "${FILESDIR}"/1.0.1-cflags.patch
mv pyregfi-distutils.py setup.py
}

View file

@ -0,0 +1,35 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id $
EAPI="5"
PYTHON_COMPAT=( python2_7 )
inherit scons-utils distutils-r1 subversion
DESCRIPTION="An utility for reading and querying Windows NT/2K/XP registries"
HOMEPAGE="http://projects.sentinelchicken.org/reglookup/"
ESVN_REPO_URI="https://code.blindspotsecurity.com/dav/reglookup/trunk/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE=""
RDEPEND="sys-libs/talloc
virtual/libiconv"
src_compile() {
escons
}
src_install() {
distutils-r1_src_install
dobin bin/reglookup-timeline src/reglookup src/reglookup-recover
dolib.so lib/libregfi.so
#fix me, add Doxygen
# doman doc/*.1.gz
dodir /usr/include/regfi
insinto /usr/include/regfi
doins include/*.h
}