10 |
DESCRIPTION="The DVD navigation library." |
DESCRIPTION="The DVD navigation library." |
11 |
HOMEPAGE="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/" |
HOMEPAGE="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/" |
12 |
|
|
13 |
DEPEND=">= media-libs/libdvdread-0.9.7" |
DEPEND=">= media-libs/libdvdread-4.1.3" |
14 |
|
|
15 |
SRCFILE="${PNAME}-${PVER}.tar.bz2" |
SRCFILE="${PNAME}-${PVER}.tar.bz2" |
16 |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
23 |
) |
) |
24 |
|
|
25 |
UP2DATE="updatecmd http://www.mplayerhq.hu/MPlayer/releases/dvdnav/ | grep ${PNAME}- | lasttarball" |
UP2DATE="updatecmd http://www.mplayerhq.hu/MPlayer/releases/dvdnav/ | grep ${PNAME}- | lasttarball" |
26 |
|
|
27 |
|
src_compile() |
28 |
|
{ |
29 |
|
cd ${SRCDIR} |
30 |
|
|
31 |
|
# non standard configure |
32 |
|
./configure2 \ |
33 |
|
--prefix=/usr \ |
34 |
|
--libdir=/usr/$(mlibdir) \ |
35 |
|
--shlibdir=/usr/$(mlibdir) \ |
36 |
|
--extra-cflags="${CFLAGS}" \ |
37 |
|
--extra-ldflags="${LDFLAGS}" \ |
38 |
|
--enable-static \ |
39 |
|
--enable-shared \ |
40 |
|
--disable-strip \ |
41 |
|
--disable-debug \ |
42 |
|
--disable-opts \ |
43 |
|
|| die |
44 |
|
|
45 |
|
mmake version.h || die |
46 |
|
mmake || die |
47 |
|
} |