1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils autotools multilib subversion
9 DESCRIPTION
="Library for DVD navigation tools"
10 HOMEPAGE
="http://mplayerhq.hu/"
17 ESVN_REPO_URI
="svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav"
18 ESVN_PROJECT
="libdvdnav"
20 DEPEND
=">=media-libs/libdvdread-4.1.3"
24 .
/configure2
--prefix=/usr
--libdir=/usr
/$
(get_libdir
) \
25 --shlibdir=/usr
/$
(get_libdir
) --enable-static --enable-shared \
26 --disable-strip --disable-opts $
(use_enable debug
) \
27 --extra-cflags=${CFLAGS} --extra-ldflags="${LDFLAGS}" \
28 || die
"configure died"
29 emake version.h || die
"emake version.h died"
30 emake || die
"emake died"
34 emake
-j1 DESTDIR
="${D}" install || die
"emake install died"
35 dodoc AUTHORS DEVELOPMENT-POLICY.txt ChangeLog TODO \
36 doc
/dvd_structures README