Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6765 - (hide annotations) (download)
Wed Sep 22 13:36:17 2010 UTC (13 years, 8 months ago) by niro
File size: 1042 byte(s)
imported from trunk
1 niro 3496 # $Id$
2    
3     PNAME="libdvdcss"
4     PVER="1.2.10"
5     PBUILD="r2"
6    
7     PCATEGORIE="media-libs"
8     STATE="unstable"
9    
10     DESCRIPTION="libdvdcss is a simple library designed for accessing DVDs like a block device without having to bother about the decryption."
11     HOMEPAGE="http://developers.videolan.org/libdvdcss/"
12    
13     DEPEND=""
14    
15     SRCFILE="${PNAME}-${PVER}.tar.bz2"
16     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17    
18     sminclude mbuild mtools
19    
20     SRC_URI=(
21     http://download.videolan.org/pub/${PNAME}/${PVER}/${SRCFILE}
22     mirror://${PNAME}/${SRCFILE}
23     )
24    
25     # fake
26     UP2DATE="echo ${PVER}"
27    
28     src_compile()
29     {
30     cd ${SRCDIR}
31    
32     # does not like any optimations
33     unset CFLAGS
34     unset CXXFLAGS
35    
36     mconfigure --disable-doc --disable-dependency-tracking || die
37     mmake || die
38     }
39    
40     src_install()
41     {
42     cd ${SRCDIR}
43    
44     mmake DESTDIR=${BINDIR} install || die
45    
46     # compat symlinks for 0.0.3 versions
47     local x="$(readlink ${BINDIR}/usr/$(mlibdir)/libdvdcss.so)"
48     mlink ${x} /usr/$(mlibdir)/libdvdcss.so.0 || die
49     mlink ${x} /usr/$(mlibdir)/libdvdcss.so.1 || die
50    
51     minstalldocs AUTHORS COPYING ChangeLog NEWS README || die
52     }

Properties

Name Value
svn:keywords Id