blob: d14388a0994b2c6d448b62e5c3f4a869fbd21f39 [file] [log] [blame]
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdread/libdvdread-4.2.0.ebuild,v 1.7 2012/02/12 18:46:24 armin76 Exp $
EAPI=4
inherit autotools libtool
DESCRIPTION="Library for DVD navigation tools"
HOMEPAGE="http://dvdnav.mplayerhq.hu/"
SRC_URI="http://dvdnav.mplayerhq.hu/releases/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="*"
IUSE="+css"
RDEPEND="!<media-libs/libdvdnav-${PV}
css? ( media-libs/libdvdcss )"
DEPEND="${RDEPEND}"
DOCS=( AUTHORS ChangeLog DEVELOPMENT-POLICY.txt NEWS TODO README )
src_prepare() {
sed -i -e '/^CFLAGS/s:-O3::' configure.ac || die
elibtoolize
eautoreconf
}
src_install() {
default
rm -f "${ED}"usr/lib*/${PN}.la
}