Magellan Linux

Contents of /branches/magellan-next/extras/a52dec/a52dec-0.7.4-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9556 - (show annotations) (download)
Sat Dec 10 20:01:46 2011 UTC (12 years, 5 months ago) by niro
File size: 917 byte(s)
-imported from trunk
1 # $Id$
2
3 PNAME="a52dec"
4 PVER="0.7.4"
5 PBUILD="r3"
6
7 PCATEGORIE="media-libs"
8 STATE="unstable"
9
10 DESCRIPTION="A free ATSC A/52 stream decoder library."
11 HOMEPAGE="http://liba52.sourceforge.net/"
12
13 DEPEND=""
14
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude mbuild mtools
19
20 SRC_URI=(
21 http://liba52.sourceforge.net/files/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 UP2DATE="updatecmd ${HOMEPAGE}/downloads.html | firsttarball gz"
26
27 src_compile()
28 {
29 cd ${SRCDIR}
30
31 mconfigure --enable-shared || die
32 mmake CFLAGS="${CFLAGS}" || die
33 }
34
35 src_install ()
36 {
37 cd ${SRCDIR}
38
39 # needed directories
40 minstalldir /usr/include/a52dec || die
41
42 mmake DESTDIR=${BINDIR} docdir=/usr/share/doc/${PNAME}-${PVER}/html install || die
43
44 # missing include
45 minstallfile liba52/a52_internal.h /usr/include/a52dec || die
46
47 # docs
48 minstalldocs AUTHORS ChangeLog COPYING HISTORY NEWS README TODO doc/liba52.txt || die
49 }

Properties

Name Value
svn:keywords Id