Magellan Linux

Annotation of /branches/magellan-next/extras/libdvdread/libdvdread-4.1.3-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7163 - (hide annotations) (download)
Wed Sep 29 22:24:56 2010 UTC (13 years, 9 months ago) by niro
File size: 937 byte(s)
auto added: ver bump to 4.1.3-r2
1 niro 7163 # $Id: libdvdread-4.1.3-r1.smage2 4547 2009-12-25 10:21:41Z niro $
2    
3     PNAME="libdvdread"
4     PVER="4.1.3"
5     PBUILD="r2"
6    
7     PCATEGORIE="media-libs"
8     STATE="unstable"
9    
10     DESCRIPTION="Simple foundation for reading DVDs."
11     HOMEPAGE="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/"
12    
13     DEPEND=">= media-libs/libdvdcss-1.2.10"
14    
15     SRCFILE="${PNAME}-${PVER}.tar.bz2"
16     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17    
18     sminclude mbuild mtools
19    
20     SRC_URI=(
21     http://www.mplayerhq.hu/MPlayer/releases/dvdnav/${SRCFILE}
22     mirror://${PNAME}/${SRCFILE}
23     )
24    
25     UP2DATE="updatecmd ${HOMEPAGE} | 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     }