Magellan Linux

Contents of /trunk/extras/libdvdcss/libdvdcss-1.2.9-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 7 months ago) by niro
File size: 1360 byte(s)
import repo
1 # $Header: /magellan-cvs/smage/libdvdcss/libdvdcss-1.2.9-r5.smage2,v 1.1 2008/02/13 22:07:23 niro Exp $
2
3 PNAME="libdvdcss"
4 PVER="1.2.9"
5 PBUILD="r5"
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 mtools
19
20 SRC_URI=(
21 http://download.videolan.org/pub/${PNAME}/${PVER}/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${PNAME}-${PVER}-doc.patch
24 )
25
26 src_prepare()
27 {
28 munpack ${SRCFILE} || die
29 cd ${SRCDIR}
30
31 # add configure switches to enable/disable doc building
32 mpatch ${PNAME}-${PVER}-doc.patch || die
33
34 autoreconf || die
35 libtoolize --copy --force || die
36 }
37
38 src_compile()
39 {
40 cd ${SRCDIR}
41
42 # does not like any optimations
43 unset CFLAGS
44 unset CXXFLAGS
45
46 mconfigure --disable-doc --disable-dependency-tracking || die
47 mmake || die
48 }
49
50 src_install()
51 {
52 cd ${SRCDIR}
53
54 mmake DESTDIR=${BINDIR} install || die
55
56 # compat symlinks for 0.0.3 versions
57 local x="$(readlink ${BINDIR}/usr/$(mlibdir)/libdvdcss.so)"
58 mlink ${x} /usr/$(mlibdir)/libdvdcss.so.0 || die
59 mlink ${x} /usr/$(mlibdir)/libdvdcss.so.1 || die
60
61 minstalldocs AUTHORS COPYING ChangeLog NEWS README || die
62 }

Properties

Name Value
svn:keywords Id