Magellan Linux

Contents of /branches/magellan-next/core/mplayer-codecs/mplayer-codecs-20071007-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6763 - (show annotations) (download)
Wed Sep 22 13:35:18 2010 UTC (13 years, 7 months ago) by niro
File size: 906 byte(s)
imported from trunk
1 # $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