Magellan Linux

Annotation of /branches/magellan-next/extras/libdvdnav/libdvdnav-4.1.3-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8594 - (hide annotations) (download)
Fri Jul 22 14:18:08 2011 UTC (13 years, 2 months ago) by niro
File size: 844 byte(s)
auto added: ver bump to 4.1.3-r3
1 niro 8594 # $Id$
2    
3     PNAME="libdvdnav"
4     PVER="4.1.3"
5     PBUILD="r3"
6    
7     PCATEGORIE="media-libs"
8    
9     DESCRIPTION="The DVD navigation library."
10     HOMEPAGE="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/"
11    
12     DEPEND=">= media-libs/libdvdread-4.1.3"
13    
14     SRCFILE="${PNAME}-${PVER}.tar.bz2"
15     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16    
17     sminclude mbuild
18    
19     SRC_URI=(
20     http://www.mplayerhq.hu/MPlayer/releases/dvdnav/${SRCFILE}
21     mirror://${PNAME}/${SRCFILE}
22     )
23    
24     UP2DATE="updatecmd ${HOMEPAGE} | grep ${PNAME}- | lasttarball"
25    
26     src_compile()
27     {
28     cd ${SRCDIR}
29    
30     # non standard configure
31     ./configure2 \
32     --prefix=/usr \
33     --libdir=/usr/$(mlibdir) \
34     --shlibdir=/usr/$(mlibdir) \
35     --extra-cflags="${CFLAGS}" \
36     --extra-ldflags="${LDFLAGS}" \
37     --enable-static \
38     --enable-shared \
39     --disable-strip \
40     --disable-debug \
41     --disable-opts \
42     || die
43    
44     mmake version.h || die
45     mmake || die
46     }