Contents of /branches/R11-unstable/extras/libdvdcss/libdvdcss-1.2.13-r1.smage2
Parent Directory | Revision Log
Revision 25496 -
(show annotations)
(download)
Tue Nov 25 03:50:35 2014 UTC (9 years, 10 months ago) by niro
File size: 1152 byte(s)
Tue Nov 25 03:50:35 2014 UTC (9 years, 10 months ago) by niro
File size: 1152 byte(s)
-release branches/R11-unstable
1 | # $Id$ |
2 | |
3 | PNAME="libdvdcss" |
4 | PVER="1.2.13" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="media-libs" |
8 | |
9 | DESCRIPTION="libdvdcss is a simple library designed for accessing DVDs like a block device without having to bother about the decryption." |
10 | HOMEPAGE="http://developers.videolan.org/libdvdcss/" |
11 | |
12 | DEPEND=">= virtual/glibc" |
13 | |
14 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
16 | |
17 | sminclude mbuild mtools |
18 | |
19 | SRC_URI=( |
20 | http://download.videolan.org/pub/${PNAME}/${PVER}/${SRCFILE} |
21 | mirror://${PNAME}/${SRCFILE} |
22 | ) |
23 | |
24 | UP2DATE="updatecmd -listonly http://download.videolan.org/pub/${PNAME}/ | grep ${PNAME} | sed 's:.*${PNAME}/\(.*\)/:\1:' | sort -n | sed -n '$ p'" |
25 | |
26 | src_compile() |
27 | { |
28 | cd ${SRCDIR} |
29 | |
30 | # does not like any optimations |
31 | unset CFLAGS |
32 | unset CXXFLAGS |
33 | |
34 | mconfigure --disable-doc --disable-dependency-tracking || die |
35 | mmake || die |
36 | } |
37 | |
38 | src_install() |
39 | { |
40 | cd ${SRCDIR} |
41 | |
42 | mmake DESTDIR=${BINDIR} install || die |
43 | |
44 | # compat symlinks for 0.0.3 versions |
45 | local x="$(readlink ${BINDIR}/usr/$(mlibdir)/libdvdcss.so)" |
46 | mlink ${x} /usr/$(mlibdir)/libdvdcss.so.0 || die |
47 | mlink ${x} /usr/$(mlibdir)/libdvdcss.so.1 || die |
48 | |
49 | minstalldocs AUTHORS COPYING ChangeLog NEWS README || die |
50 | } |