-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
+inherit autotools
+
DESCRIPTION="Plugins for UCView image capture application"
HOMEPAGE="http://unicap-imaging.org/"
SRC_URI="http://unicap-imaging.org/downloads/${P}.tar.gz"
RDEPEND=${DEPEND}
src_prepare() {
- # remove unneeded (and not installed) header include
- sed -e 's|^#include <ucview/ucview\.h>$|//\0|' \
- -i ucview_debayer_plugin/src/debayer_plugin.c || die
+ mkdir -p ucview_{debayer,histogram,videoplay}_plugin/m4
+ eautoreconf
}
src_configure() {