Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1673 - (hide annotations) (download)
Wed May 13 17:44:40 2009 UTC (15 years ago) by niro
File size: 914 byte(s)
-moved to 'core'
1 niro 2 # $Header: /magellan-cvs/smage/mplayer-codecs/mplayer-codecs-20071007-r2.smage2,v 1.1 2008/02/14 21:32:43 niro Exp $
2    
3     PNAME="mplayer-codecs"
4     PVER="20071007"
5     PBUILD="r2"
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     src_prepare()
29     {
30     # we need a temp directory
31     install -d ${BUILDDIR}/${PNAME}-${PVER} || die
32     munpack ${SRCFILE} ${SRCDIR} || die
33     }
34    
35     src_install()
36     {
37     cd ${SRCDIR}
38    
39     # needed directories
40     minstalldir /usr/$(mlibdir)/win32 || die
41     mv ${CODECS}/* ${BINDIR}/usr/$(mlibdir)/win32 || die
42    
43     # fix permissions
44     mchown -R root:root /usr/$(mlibdir)/win32 || die
45     }

Properties

Name Value
svn:keywords Id