Contents of /trunk/core/libdvdcss/libdvdcss-1.2.10-r1.smage2
Parent Directory | Revision Log
Revision 1676 -
(show annotations)
(download)
Wed May 13 18:10:44 2009 UTC (15 years ago) by niro
File size: 1388 byte(s)
Wed May 13 18:10:44 2009 UTC (15 years ago) by niro
File size: 1388 byte(s)
auto added: ver bump to 1.2.10-r1
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.10" |
5 | PBUILD="r1" |
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}-1.2.9-doc.patch |
24 | ) |
25 | |
26 | # fake |
27 | UP2DATE="echo ${PVER}" |
28 | |
29 | src_prepare() |
30 | { |
31 | munpack ${SRCFILE} || die |
32 | cd ${SRCDIR} |
33 | |
34 | # add configure switches to enable/disable doc building |
35 | mpatch ${PNAME}-1.2.9-doc.patch || die |
36 | |
37 | autoreconf || die |
38 | libtoolize --copy --force || die |
39 | } |
40 | |
41 | src_compile() |
42 | { |
43 | cd ${SRCDIR} |
44 | |
45 | # does not like any optimations |
46 | unset CFLAGS |
47 | unset CXXFLAGS |
48 | |
49 | mconfigure --disable-doc --disable-dependency-tracking || die |
50 | mmake || die |
51 | } |
52 | |
53 | src_install() |
54 | { |
55 | cd ${SRCDIR} |
56 | |
57 | mmake DESTDIR=${BINDIR} install || die |
58 | |
59 | # compat symlinks for 0.0.3 versions |
60 | local x="$(readlink ${BINDIR}/usr/$(mlibdir)/libdvdcss.so)" |
61 | mlink ${x} /usr/$(mlibdir)/libdvdcss.so.0 || die |
62 | mlink ${x} /usr/$(mlibdir)/libdvdcss.so.1 || die |
63 | |
64 | minstalldocs AUTHORS COPYING ChangeLog NEWS README || die |
65 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |