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