Magellan Linux

Contents of /branches/magellan-next/extras/libdvdread/libdvdread-4.1.3-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8593 - (show annotations) (download)
Fri Jul 22 14:17:44 2011 UTC (12 years, 10 months ago) by niro
File size: 860 byte(s)
auto added: ver bump to 4.1.3-r3
1 # $Id$
2
3 PNAME="libdvdread"
4 PVER="4.1.3"
5 PBUILD="r3"
6
7 PCATEGORIE="media-libs"
8
9 DESCRIPTION="Simple foundation for reading DVDs."
10 HOMEPAGE="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/"
11
12 DEPEND=">= media-libs/libdvdcss-1.2.10"
13
14 SRCFILE="${PNAME}-${PVER}.tar.bz2"
15 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16
17 sminclude mbuild mtools
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 }