Annotation of /branches/R11-stable/extras/a52dec/a52dec-0.7.4-r5.smage2
Parent Directory | Revision Log
Revision 15528 -
(hide annotations)
(download)
Thu Jan 3 15:25:42 2013 UTC (11 years, 8 months ago) by niro
File size: 931 byte(s)
Thu Jan 3 15:25:42 2013 UTC (11 years, 8 months ago) by niro
File size: 931 byte(s)
-release branches/R11-stable
1 | niro | 15525 | # $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 | } |