Annotation of /branches/R11-stable/extras/libdvdread/libdvdread-4.2.0-r1.smage2
Parent Directory | Revision Log
Revision 11086 -
(hide annotations)
(download)
Fri Feb 17 00:19:41 2012 UTC (12 years, 7 months ago) by niro
Original Path: trunk/extras/libdvdread/libdvdread-4.2.0-r1.smage2
File size: 842 byte(s)
Fri Feb 17 00:19:41 2012 UTC (12 years, 7 months ago) by niro
Original Path: trunk/extras/libdvdread/libdvdread-4.2.0-r1.smage2
File size: 842 byte(s)
auto added: ver bump to 4.2.0-r1
1 | niro | 11086 | # $Id$ |
2 | |||
3 | PNAME="libdvdread" | ||
4 | PVER="4.2.0" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="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://dvdnav.mplayerhq.hu/releases/${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 | } |