Annotation of /branches/R11-unstable/extras/libdvdread/libdvdread-4.2.1-r1.smage2
Parent Directory | Revision Log
Revision 25498 -
(hide annotations)
(download)
Tue Nov 25 03:50:45 2014 UTC (9 years, 9 months ago) by niro
File size: 857 byte(s)
Tue Nov 25 03:50:45 2014 UTC (9 years, 9 months ago) by niro
File size: 857 byte(s)
-release branches/R11-unstable
1 | niro | 20760 | # $Id$ |
2 | |||
3 | PNAME="libdvdread" | ||
4 | PVER="4.2.1" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="media-libs" | ||
8 | |||
9 | DESCRIPTION="Simple foundation for reading DVDs." | ||
10 | HOMEPAGE="http://dvdnav.mplayerhq.hu/" | ||
11 | |||
12 | DEPEND=">= media-libs/libdvdcss-1.2.10" | ||
13 | |||
14 | SRCFILE="${PNAME}-${PVER}.tar.xz" | ||
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
16 | |||
17 | sminclude mbuild mtools | ||
18 | msetfeature "!check" | ||
19 | |||
20 | SRC_URI=( | ||
21 | http://dvdnav.mplayerhq.hu/releases/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | ) | ||
24 | |||
25 | UP2DATE="updatecmd ${HOMEPAGE}/releases/ | grep ${PNAME}- | highesttarball xz" | ||
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 | } |