Magellan Linux

Contents of /branches/R11-unstable/extras/a52dec/a52dec-0.7.4-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25098 - (show annotations) (download)
Tue Nov 25 03:02:38 2014 UTC (9 years, 5 months ago) by niro
File size: 931 byte(s)
-release branches/R11-unstable
1 # $Id$
2
3 PNAME="a52dec"
4 PVER="0.7.4"
5 PBUILD="r5"
6
7 PCAT="media-libs"
8
9 DESCRIPTION="A free ATSC A/52 stream decoder library."
10 HOMEPAGE="http://liba52.sourceforge.net/"
11
12 DEPEND=">= virtual/glibc"
13
14 SRCFILE="${PNAME}-${PVER}.tar.gz"
15 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16
17 sminclude mbuild mtools
18 msetfeature "!check"
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 }