Magellan Linux

Annotation of /trunk/extras/a52dec/a52dec-0.7.4-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 8 months ago) by niro
File size: 942 byte(s)
import repo
1 niro 2 # $Header: /magellan-cvs/smage/a52dec/a52dec-0.7.4-r2.smage2,v 1.1 2008/04/03 20:58:22 niro Exp $
2    
3     PNAME="a52dec"
4     PVER="0.7.4"
5     PBUILD="r2"
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     src_compile()
26     {
27     cd ${SRCDIR}
28    
29     mconfigure --enable-shared || die
30     mmake CFLAGS="${CFLAGS}" || die
31     }
32    
33     src_install ()
34     {
35     cd ${SRCDIR}
36    
37     # needed directories
38     minstalldir /usr/include/a52dec || die
39    
40     mmake DESTDIR=${BINDIR} docdir=/usr/share/doc/${PNAME}-${PVER}/html install || die
41    
42     # missing include
43     minstallfile liba52/a52_internal.h /usr/include/a52dec || die
44    
45     # docs
46     minstalldocs AUTHORS ChangeLog COPYING HISTORY NEWS README TODO doc/liba52.txt || die
47     }

Properties

Name Value
svn:keywords Id