summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2008-09-23 21:31:50 +0000
committerBen de Groot <yngwin@gentoo.org>2008-09-23 21:31:50 +0000
commita85585322864e39fa95191a425fb7797be04d326 (patch)
treef0988fa73040e6f074e1cf9d48e3e070ad2e9613 /media-libs/libdvdnav/libdvdnav-4.1.3.ebuild
parent- Initial import of 0.9.30_rc1 branch for gentoo testing/QA before final the ... (diff)
downloadgentoo-2-a85585322864e39fa95191a425fb7797be04d326.tar.gz
gentoo-2-a85585322864e39fa95191a425fb7797be04d326.tar.bz2
gentoo-2-a85585322864e39fa95191a425fb7797be04d326.zip
Version bump from MPlayer project, hardmasked for testing
(Portage version: 2.2_rc9/cvs/Linux 2.6.26.5 i686)
Diffstat (limited to 'media-libs/libdvdnav/libdvdnav-4.1.3.ebuild')
-rw-r--r--media-libs/libdvdnav/libdvdnav-4.1.3.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/media-libs/libdvdnav/libdvdnav-4.1.3.ebuild b/media-libs/libdvdnav/libdvdnav-4.1.3.ebuild
new file mode 100644
index 000000000000..9b859c8477aa
--- /dev/null
+++ b/media-libs/libdvdnav/libdvdnav-4.1.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdnav/libdvdnav-4.1.3.ebuild,v 1.1 2008/09/23 21:31:50 yngwin Exp $
+
+WANT_AUTOCONF="2.5"
+inherit eutils autotools multilib
+
+DESCRIPTION="Library for DVD navigation tools"
+HOMEPAGE="http://www.mplayerhq.hu/"
+SRC_URI="mirror://mplayer/releases/dvdnav/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="debug"
+
+DEPEND=">=media-libs/libdvdread-4.1.3"
+RDEPEND="$DEPEND"
+
+src_compile() {
+ ./configure2 --prefix=/usr --libdir=/usr/$(get_libdir) \
+ --shlibdir=/usr/$(get_libdir) --enable-static --enable-shared \
+ --disable-strip --disable-opts $(use_enable debug) \
+ --extra-cflags="${CFLAGS}" --extra-ldflags="${LDFLAGS}" \
+ || die "configure2 died"
+ emake version.h || die "emake version.h died"
+ emake || die "emake died"
+}
+
+src_install () {
+ emake -j1 DESTDIR="${D}" install || die "emake install died"
+ dodoc AUTHORS DEVELOPMENT-POLICY.txt ChangeLog TODO \
+ doc/dvd_structures README
+}