Magellan Linux

Annotation of /trunk/core/nas/nas-1.9.2-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3518 - (hide annotations) (download)
Fri Oct 23 08:05:50 2009 UTC (14 years, 8 months ago) by niro
File size: 1636 byte(s)
auto added: ver bump to 1.9.2-r2
1 niro 3518 # $Id$
2    
3     PNAME="nas"
4     PVER="1.9.2"
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    
22     SDEPEND=">= x11-misc/gccmakedep-1
23     >= x11-misc/imake-1
24     >= app-text/rman-3
25     >= x11-proto/xproto-1"
26    
27     SRCFILE="${PNAME}-${PVER}.src.tar.gz"
28     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
29    
30     sminclude mbuild mtools
31    
32     SRC_URI=(
33     sourceforge://${PNAME}/${SRCFILE}
34     mirror://${PNAME}/${SRCFILE}
35     mirror://${PNAME}/nas.rc
36     mirror://${PNAME}/nas.confd
37     )
38    
39     UP2DATE="updatecmd_sourceforge ${PNAME} | sed 's:nas\ ::'"
40    
41     src_compile()
42     {
43     cd ${SRCDIR}
44     xmkmf || die
45     # build without libXp
46     mmake World XPLIB="" || die
47     }
48    
49     src_install()
50     {
51     cd ${SRCDIR}
52    
53     mmake DESTDIR=${BINDIR} install || die
54     mmake DESTDIR=${BINDIR} DOCHTMLDIR=/usr/share/doc-to-remove install.man || die
55    
56     # rename example conf
57     mv ${BINDIR}/etc/nas/nasd.conf.eg ${BINDIR}/etc/nas/nasd.conf || die
58    
59     # set mixer init off, so nas doesn't change the mixer settings
60     sed -i 's,\(MixerInit.*\)"\(.*\)",\1"no",' ${BINDIR}/etc/nas/nasd.conf || die
61    
62     # remove html docs, not needed and way too big
63     rm -rf ${BINDIR}/usr/share/doc-to-remove || die
64    
65     # we don't need the static lib
66     rm ${BINDIR}/usr/$(mlibdir)/libaudio.a || die
67    
68     # install init scripts and configs
69     minstallrc nas.rc nas || die
70     minstallconf nas.confd nas || die
71    
72     # docs
73     minstalldocs BUGS BUILDNOTES FAQ HISTORY README RELEASE TODO || die
74     }

Properties

Name Value
svn:keywords Id