You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.1 KiB
52 lines
1.1 KiB
11 years ago
|
# Copyright 1999-2013 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
11 years ago
|
# $Header: /var/cvsroot/gentoo-x86/app-forensics/rdd/rdd-3.0.4-r1.ebuild,v 1.2 2013/07/27 03:13:35 zerochaos Exp $
|
||
11 years ago
|
|
||
|
EAPI="5"
|
||
|
|
||
11 years ago
|
inherit autotools eutils
|
||
11 years ago
|
|
||
|
# no worky
|
||
|
RESTRICT="test"
|
||
|
|
||
|
DESCRIPTION="Rdd is a forensic copy program"
|
||
|
HOMEPAGE="http://www.sf.net/projects/rdd"
|
||
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||
|
|
||
|
KEYWORDS="~x86 ~amd64"
|
||
11 years ago
|
IUSE="debug doc"
|
||
11 years ago
|
LICENSE="BSD"
|
||
|
SLOT="0"
|
||
|
|
||
11 years ago
|
RDEPEND="app-forensics/libewf
|
||
11 years ago
|
x11-libs/gtk+:2
|
||
|
gnome-base/libglade:2.0"
|
||
|
|
||
11 years ago
|
DEPEND="${RDEPEND}
|
||
|
doc? ( app-doc/doxygen )"
|
||
11 years ago
|
|
||
|
src_prepare() {
|
||
11 years ago
|
epatch "${FILESDIR}/rdd-3.0.4-sandbox-fix.patch"
|
||
11 years ago
|
sed -i 's/AM_PATH_GTK_2_0//' configure.ac || die
|
||
|
AT_M4DIR=m4 eautoreconf
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
11 years ago
|
#doxygen-html fails but the docs are prebuilt so we don't need to enable them
|
||
|
econf --disable-doxygen-html \
|
||
|
$(use_enable debug tracing) \
|
||
|
$(use_enable doc doxygen-doc)
|
||
11 years ago
|
}
|
||
11 years ago
|
|
||
11 years ago
|
src_compile() {
|
||
|
emake -j1
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
11 years ago
|
emake install DESTDIR="${D}"
|
||
11 years ago
|
dobin src/rddi.py
|
||
|
dosym rdd-copy /usr/bin/rdd
|
||
11 years ago
|
#this causes a warning about not being recursive, no clue why
|
||
|
dohtml -r doxygen-doc/html/*
|
||
11 years ago
|
}
|