Magellan Linux

Annotation of /branches/magellan-next/core/libdvdcss/libdvdcss-1.2.10-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8369 - (hide annotations) (download)
Fri Jul 15 10:35:14 2011 UTC (13 years, 2 months ago) by niro
File size: 1025 byte(s)
auto added: ver bump to 1.2.10-r4
1 niro 8369 # $Id$
2    
3     PNAME="libdvdcss"
4     PVER="1.2.10"
5     PBUILD="r4"
6    
7     PCATEGORIE="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=""
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     # fake
25     UP2DATE="echo ${PVER}"
26    
27     src_compile()
28     {
29     cd ${SRCDIR}
30    
31     # does not like any optimations
32     unset CFLAGS
33     unset CXXFLAGS
34    
35     mconfigure --disable-doc --disable-dependency-tracking || die
36     mmake || die
37     }
38    
39     src_install()
40     {
41     cd ${SRCDIR}
42    
43     mmake DESTDIR=${BINDIR} install || die
44    
45     # compat symlinks for 0.0.3 versions
46     local x="$(readlink ${BINDIR}/usr/$(mlibdir)/libdvdcss.so)"
47     mlink ${x} /usr/$(mlibdir)/libdvdcss.so.0 || die
48     mlink ${x} /usr/$(mlibdir)/libdvdcss.so.1 || die
49    
50     minstalldocs AUTHORS COPYING ChangeLog NEWS README || die
51     }