pentoo-overlay/app-forensics/stegdetect/stegdetect-0.6-r1.ebuild

45 lines
834 B
Bash

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
WANT_AUTOMAKE="1.4"
inherit eutils flag-o-matic autotools
DESCRIPTION="A Steganography detector for JPEG"
HOMEPAGE="http://www.outguess.org/"
SRC_URI="http://www.outguess.org/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="X"
RDEPEND="sys-apps/file
dev-libs/glib:1
X? ( x11-libs/gtk+:1 )"
DEPEND="${RDEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${P}.patch
epatch "${FILESDIR}"/debian-stegdetect.patch
epatch "${FILESDIR}"/stegdetect-fixes.patch
}
src_configure() {
./configure
}
src_compile() {
emake || die "make failed"
}
src_install() {
insinto /usr/share/stegbreak/
doins rules.ini
dobin stegbreak stegcompare stegdeimage stegdetect
use X && dobin xsteg
doman *.1
}