Magellan Linux

Annotation of /trunk/core/mplayer-codecs/mplayer-codecs-20071007-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1679 - (hide annotations) (download)
Wed May 13 18:15:54 2009 UTC (15 years, 1 month ago) by niro
File size: 906 byte(s)
-rebuild
1 niro 1679 # $Id$
2    
3     PNAME="mplayer-codecs"
4     PVER="20071007"
5     PBUILD="r3"
6    
7     PCATEGORIE="media-libs"
8     STATE="unstable"
9    
10     DESCRIPTION="Essential codecs for mplayer."
11     HOMEPAGE="http://www.mplayerhq.hu/MPlayer/releases/codecs/"
12    
13     DEPEND=""
14    
15     # which codecs we use
16     CODECS="all-${PVER}"
17    
18     SRCFILE="${CODECS}.tar.bz2"
19     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
20    
21     sminclude mtools
22    
23     SRC_URI=(
24     http://www1.mplayerhq.hu/MPlayer/releases/codecs/${SRCFILE}
25     mirror://${PNAME}/${SRCFILE}
26     )
27    
28     UP2DATE="updatecmd http://www1.mplayerhq.hu/MPlayer/releases/codecs/ | grep ${CODECS} | lasttarball"
29    
30     src_prepare()
31     {
32     # we need a temp directory
33     install -d ${BUILDDIR}/${PNAME}-${PVER} || die
34     munpack ${SRCFILE} ${SRCDIR} || die
35     }
36    
37     src_install()
38     {
39     cd ${SRCDIR}
40    
41     # needed directories
42     minstalldir /usr/$(mlibdir)/win32 || die
43     mv ${CODECS}/* ${BINDIR}/usr/$(mlibdir)/win32 || die
44    
45     # fix permissions
46     mchown -R root:root /usr/$(mlibdir)/win32 || die
47     }

Properties

Name Value
svn:keywords Id