mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
libforensic1394: migrate to EAPI 5, cleanups
This commit is contained in:
parent
457f99c7bc
commit
6c637b496c
3 changed files with 48 additions and 34 deletions
|
|
@ -1 +1 @@
|
|||
DIST libforensic1394-0.2.tar.gz 59223 SHA256 50a82fe2899aa901104055da2ac00b4c438cf1d0d991f5ec1215d4658414652e
|
||||
DIST libforensic1394-0.2.tar.gz 59079 SHA256 a32cb432d79cec01d7c90252676d42d92167d851d09770c11ada01b34b228d26 SHA512 4571f58ed7d127c050a31c669105a55974fb858045cd0bae7c3372ddcf35f94bdd08bd3a4f269ba6031b9d022c7d71848e6baf9d6e8fcc38882ced3387a066ee WHIRLPOOL 3f700141ccb21c2fd7f92c080ff109d147dc5aee96fdb5c45be8348381156cdc37634f8d579aa299e7441b58819a7380faac6fe118315115012d5cd7ce7b4568
|
||||
|
|
|
|||
|
|
@ -1,23 +1,29 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
# $Id$
|
||||
|
||||
EAPI=3
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
EAPI=5
|
||||
|
||||
inherit eutils cmake-utils linux-info python distutils
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
#for python source files
|
||||
CMAKE_IN_SOURCE_BUILD=1
|
||||
|
||||
inherit distutils-r1 cmake-utils linux-info
|
||||
|
||||
DESCRIPTION="Library for carrying out memory forensics using firewire/ieee1394."
|
||||
HOMEPAGE="http://freddie.witherden.org/tools/libforensic1394/"
|
||||
SRC_URI="https://freddie.witherden.org/tools/${PN}/releases/${P}.tar.gz"
|
||||
HOMEPAGE="https://freddie.witherden.org/tools/libforensic1394/"
|
||||
SRC_URI="https://github.com/FreddieWitherden/libforensic1394/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
|
||||
#FIXME: fails to compile without the "python" flag
|
||||
#IUSE="python"
|
||||
IUSE=""
|
||||
IUSE="python"
|
||||
|
||||
RDEPEND="python? ( ${PYTHON_DEPS} )"
|
||||
DEPEND="python? ( ${PYTHON_DEPS} )"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
pkg_setup() {
|
||||
CONFIG_CHECK="~FIREWIRE_OHCI"
|
||||
|
|
@ -33,20 +39,20 @@ src_prepare() {
|
|||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
# if use python; then
|
||||
if use python; then
|
||||
einfo "Compiling python modules..."
|
||||
cd "${S}/python"
|
||||
distutils_src_compile
|
||||
# fi
|
||||
distutils-r1_src_compile
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
# if use python; then
|
||||
if use python; then
|
||||
einfo "Installing python modules..."
|
||||
cd "${S}/python"
|
||||
distutils_src_install
|
||||
# fi
|
||||
distutils-r1_src_install
|
||||
fi
|
||||
|
||||
# TODO: enable access to all nodes
|
||||
# files/61-libforensic.rules
|
||||
|
|
@ -1,23 +1,28 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
# $Id$
|
||||
|
||||
EAPI=3
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
EAPI=5
|
||||
|
||||
inherit eutils distutils cmake-utils git-2
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
CMAKE_IN_SOURCE_BUILD=1
|
||||
|
||||
inherit distutils-r1 cmake-utils linux-info git-r3
|
||||
|
||||
DESCRIPTION="Library for carrying out memory forensics using firewire/ieee1394."
|
||||
HOMEPAGE="http://freddie.witherden.org/tools/libforensic1394/"
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="git://git.freddie.witherden.org/forensic1394.git"
|
||||
HOMEPAGE="https://freddie.witherden.org/tools/libforensic1394/"
|
||||
EGIT_REPO_URI="https://github.com/FreddieWitherden/libforensic1394.git"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-x86 -amd64"
|
||||
KEYWORDS=""
|
||||
|
||||
#IUSE="python"
|
||||
IUSE=""
|
||||
IUSE="python"
|
||||
|
||||
RDEPEND="python? ( ${PYTHON_DEPS} )"
|
||||
DEPEND="python? ( ${PYTHON_DEPS} )"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
pkg_setup() {
|
||||
CONFIG_CHECK="~FIREWIRE_OHCI"
|
||||
|
|
@ -32,20 +37,23 @@ src_prepare() {
|
|||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
# if $(use python); then
|
||||
if $(use python); then
|
||||
einfo "Compiling python modules..."
|
||||
cd "${S}/python"
|
||||
distutils_src_compile
|
||||
# fi
|
||||
distutils-r1_src_compile
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
# if $(use python); then
|
||||
if $(use python); then
|
||||
einfo "Installing python modules..."
|
||||
cd "${S}/python"
|
||||
distutils_src_install
|
||||
# fi
|
||||
distutils-r1_src_install
|
||||
fi
|
||||
|
||||
# TODO: enable access to all nodes
|
||||
# files/61-libforensic.rules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue