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.
48 lines
1.0 KiB
48 lines
1.0 KiB
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv-utils/ivtv-utils-1.4.1.ebuild,v 1.2 2012/04/17 09:37:49 ssuominen Exp $
|
|
|
|
EAPI=4
|
|
inherit eutils toolchain-funcs
|
|
|
|
DESCRIPTION="IVTV utilities for Hauppauge PVR PCI cards"
|
|
HOMEPAGE="http://www.ivtvdriver.org/"
|
|
SRC_URI="http://dl.ivtvdriver.org/ivtv/archive/1.4.x/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~ppc x86"
|
|
IUSE="perl"
|
|
|
|
DEPEND="!media-tv/ivtv"
|
|
RDEPEND="${DEPEND}
|
|
media-tv/v4l-utils
|
|
perl? (
|
|
dev-perl/Video-Frequencies
|
|
dev-perl/Video-ivtv
|
|
dev-perl/Config-IniFiles
|
|
virtual/perl-Getopt-Long
|
|
dev-perl/perl-tk
|
|
)"
|
|
|
|
src_prepare() {
|
|
epatch \
|
|
"${FILESDIR}"/${PN}-1.4.0-gentoo.patch \
|
|
"${FILESDIR}"/${PN}-1.4.1-overflow.patch
|
|
}
|
|
|
|
src_compile() {
|
|
tc-export CC CXX
|
|
emake
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" PREFIX="/usr" install
|
|
dodoc ChangeLog README doc/*
|
|
|
|
if use perl; then
|
|
dobin utils/perl/*.pl
|
|
dodoc utils/perl/README.ptune
|
|
fi
|
|
}
|