Magellan Linux

Contents of /trunk/extras/nas/nas-1.9-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 7 months ago) by niro
File size: 1662 byte(s)
import repo
1 # $Header: /magellan-cvs/smage/nas/nas-1.9-r2.smage2,v 1.1 2008/02/13 21:16:12 niro Exp $
2
3 PNAME="nas"
4 PVER="1.9"
5 PBUILD="r2"
6
7 PCATEGORIE="media-libs"
8 STATE="unstable"
9
10 DESCRIPTION="The Network Audio System is a network transparent, client/server audio transport system."
11 HOMEPAGE="http://nas.codebrilliance.com/"
12
13 sminclude xorg
14
15 DEPEND=">= x11-libs/libXt-1
16 >= x11-libs/libXau-1
17 >= x11-libs/libXaw-1
18 >= x11-libs/libX11-1
19 >= x11-libs/libXres-1
20 >= x11-libs/libXTrap-1
21 >= x11-libs/libXp-1"
22
23 SDEPEND=">= x11-misc/gccmakedep-1
24 >= x11-misc/imake-1
25 >= app-text/rman-3
26 >= x11-proto/xproto-1"
27
28 SRCFILE="${PNAME}-${PVER}.src.tar.gz"
29 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
30
31 sminclude mbuild mtools
32
33 SRC_URI=(
34 http://nas.codebrilliance.com/${PNAME}/${SRCFILE}
35 mirror://${PNAME}/${SRCFILE}
36 mirror://${PNAME}/nas.rc
37 mirror://${PNAME}/nas.confd
38 )
39
40 src_compile()
41 {
42 cd ${SRCDIR}
43 xmkmf || die
44 mmake World || die
45 }
46
47 src_install()
48 {
49 cd ${SRCDIR}
50
51 mmake DESTDIR=${BINDIR} install || die
52 mmake DESTDIR=${BINDIR} DOCHTMLDIR=/usr/share/doc-to-remove install.man || die
53
54 # rename example conf
55 mv ${BINDIR}/etc/nas/nasd.conf.eg ${BINDIR}/etc/nas/nasd.conf || die
56
57 # set mixer init off, so nas doesn't change the mixer settings
58 sed -i 's,\(MixerInit.*\)"\(.*\)",\1"no",' ${BINDIR}/etc/nas/nasd.conf || die
59
60 # remove html docs, not needed and way too big
61 rm -rf ${BINDIR}/usr/share/doc-to-remove || die
62
63 # we don't need the static lib
64 rm ${BINDIR}/usr/$(mlibdir)/libaudio.a || die
65
66 # install init scripts and configs
67 minstallrc nas.rc nas || die
68 minstallconf nas.confd nas || die
69
70 # docs
71 minstalldocs BUGS BUILDNOTES FAQ HISTORY README RELEASE TODO || die
72 }

Properties

Name Value
svn:keywords Id