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.
gentoo-overlay/media-video/cpvts/cpvts-1.2.ebuild

43 lines
839 B

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/cpvts/cpvts-1.2.ebuild,v 1.8 2006/07/02 13:37:39 pylon Exp $
inherit eutils toolchain-funcs
IUSE=""
MY_S="${WORKDIR}/${PN}"
DESCRIPTION="raw copy title sets from a DVD to your harddisc"
SRC_URI="http://www.lallafa.de/bp/files/${P}.tgz"
HOMEPAGE="http://www.lallafa.de/bp/cpvts.html"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 ppc x86"
DEPEND="media-libs/libdvdread"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-dvdread.patch"
}
echodo() {
echo "$@"
"$@" || die "failed"
}
src_compile () {
cd ${MY_S} || die
echodo $(tc-getCC) ${CFLAGS} ${LDFLAGS} -Wl,-rpath,/usr/lib -o cpvts \
cpvts.c -lm -ldvdread
}
src_install () {
dobin ${MY_S}/${PN} || die
}