Magellan Linux

Contents of /trunk/todo/freespace2-data/freespace2-data-20071116-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2300 - (show annotations) (download)
Thu Jul 9 19:33:43 2009 UTC (14 years, 10 months ago) by niro
File size: 1330 byte(s)
-moved to 'todo'
1 # $Header: /magellan-cvs/smage/freespace2-data/freespace2-data-20071116-r1.smage2,v 1.3 2008/02/07 14:23:37 niro Exp $
2
3 PNAME="freespace2-data"
4 PVER="20071116"
5 PBUILD="r1"
6
7 PCATEGORIE="x11-games"
8 STATE="testing"
9
10 DESCRIPTION="Data files for Freespace2."
11 HOMEPAGE="http://scp.indiegames.us/"
12
13 DEPEND=""
14
15 SDEPEND=">= app-arch/unrar-3
16 >= app-arch/unzip-5"
17
18 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
19
20 SRCFILE_EFFECT_VP="mp-710_effects.rar"
21 SRCFILE_MODELS_VP="mp-710_models.rar"
22 SRCFILE_ZPACK_VP="mv_zpack.zip"
23
24 sminclude mtools
25
26 SRC_URI=(
27 http://fs2source.warpcore.org/mvp368zeta/${SRCFILE_ZPACK_VP}
28 http://fs2source.warpcore.org/mediavp/${SRCFILE_EFFECT_VP}
29 http://fs2source.warpcore.org/mediavp/${SRCFILE_MODELS_VP}
30 )
31
32 # note: xorg opengl headers should be used at compilation
33 # ati or nvidia will fail to build !!
34 src_prepare()
35 {
36 install -d ${SRCDIR}/addon-vp || die
37
38 munpack ${SRCFILE_ZPACK_VP} ${SRCDIR}/addon-vp || die
39 munpack ${SRCFILE_EFFECT_VP} ${SRCDIR}/addon-vp || die
40 munpack ${SRCFILE_MODELS_VP} ${SRCDIR}/addon-vp || die
41 }
42
43 src_install()
44 {
45 cd ${SRCDIR}
46
47 # needed directories
48 minstalldir /usr/games/freespace2/mediavps || die
49
50 # install addonvp's
51 install -m0644 ${SRCDIR}/addon-vp/*.vp ${BINDIR}/usr/games/freespace2/mediavps || die
52
53 # fix permissions
54 mchown -R root:games /usr/games/freespace2 || die
55 }

Properties

Name Value
svn:keywords Id