Contents of /branches/branch-xorg18/extras/a52dec/a52dec-0.7.4-r3.smage2
Parent Directory | Revision Log
Revision 5192 -
(show annotations)
(download)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 917 byte(s)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 917 byte(s)
created branch 'branch-xorg18'
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 |