summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-07-16 11:41:06 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-07-16 11:41:06 +0000
commit3c91092e00f29748aad16812d4994410edc4b2d4 (patch)
treed68a80fc4c769e931064ac7287c7c3da3994070d /media-libs/nas
parentMask leif, eimil and csconv too. (diff)
downloadgentoo-2-3c91092e00f29748aad16812d4994410edc4b2d4.tar.gz
gentoo-2-3c91092e00f29748aad16812d4994410edc4b2d4.tar.bz2
gentoo-2-3c91092e00f29748aad16812d4994410edc4b2d4.zip
Version bump.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/nas')
-rw-r--r--media-libs/nas/ChangeLog18
-rw-r--r--media-libs/nas/metadata.xml2
-rw-r--r--media-libs/nas/nas-1.9.2.ebuild65
3 files changed, 74 insertions, 11 deletions
diff --git a/media-libs/nas/ChangeLog b/media-libs/nas/ChangeLog
index 91cc07cfce1b..3646393aa366 100644
--- a/media-libs/nas/ChangeLog
+++ b/media-libs/nas/ChangeLog
@@ -1,9 +1,11 @@
# ChangeLog for media-libs/nas
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/ChangeLog,v 1.62 2007/07/22 08:45:50 drac Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/ChangeLog,v 1.63 2009/07/16 11:41:06 ssuominen Exp $
- 22 Jul 2007; Samuli Suominen <drac@gentoo.org> nas-1.7-r1.ebuild:
- Remove virtual/x11 references.
+*nas-1.9.2 (16 Jul 2009)
+
+ 16 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> +nas-1.9.2.ebuild:
+ Version bump.
12 Apr 2007; Fernando J. Pereda <ferdy@gentoo.org> nas-1.8b.ebuild:
Stable on alpha as per sec bug #171428
@@ -29,14 +31,10 @@
02 Apr 2007; Markus Rothe <corsair@gentoo.org> nas-1.8b.ebuild:
Stable on ppc64; bug #171428
- 02 Apr 2007; Samuli Suominen <drac@gentoo.org> files/nas.init.d:
- Remove old X11R6 legacy path from init script.
-
*nas-1.8b (02 Apr 2007)
- 02 Apr 2007; Samuli Suominen <drac@gentoo.org> -nas-1.8.ebuild,
- -nas-1.8-r1.ebuild, +nas-1.8b.ebuild:
- Version bump for security bug 171428.
+ 02 Apr 2007; Samuli Suominen <ssuominen@gentoo.org> +nas-1.8b.ebuild:
+ Version bump for security #171428.
*nas-1.8-r1 (09 Mar 2007)
*nas-1.7-r2 (09 Mar 2007)
diff --git a/media-libs/nas/metadata.xml b/media-libs/nas/metadata.xml
index e1774e3d9ad7..ae573a60407f 100644
--- a/media-libs/nas/metadata.xml
+++ b/media-libs/nas/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sound</herd>
+ <herd>sound</herd>
</pkgmetadata>
diff --git a/media-libs/nas/nas-1.9.2.ebuild b/media-libs/nas/nas-1.9.2.ebuild
new file mode 100644
index 000000000000..9ba4925b33d7
--- /dev/null
+++ b/media-libs/nas/nas-1.9.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/nas-1.9.2.ebuild,v 1.1 2009/07/16 11:41:06 ssuominen Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="Network Audio System"
+HOMEPAGE="http://radscan.com/nas.html"
+SRC_URI="mirror://sourceforge/${PN}/${P}.src.tar.gz"
+
+LICENSE="X11"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="doc"
+
+RDEPEND="x11-libs/libXt
+ x11-libs/libXau
+ x11-libs/libXaw
+ x11-libs/libX11
+ x11-libs/libXres
+ x11-libs/libXTrap
+ x11-libs/libXp"
+DEPEND="${RDEPEND}
+ x11-misc/gccmakedep
+ x11-misc/imake
+ app-text/rman
+ x11-proto/xproto"
+
+src_compile() {
+ xmkmf || die "xmkmf failed"
+ touch doc/man/lib/tmp.{_man,man}
+ emake \
+ MAKE="${MAKE:-gmake}" \
+ CDEBUGFLAGS="${CFLAGS}" \
+ CXXDEBUFLAGS="${CXXFLAGS}" \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ AR="$(tc-getAR) clq" \
+ AS="$(tc-getAS)" \
+ LD="$(tc-getLD)" \
+ RANLIB="$(tc-getRANLIB)" World || die "emake World failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install install.man || die "emake install failed"
+ dodoc BUILDNOTES FAQ HISTORY README RELEASE TODO
+
+ if use doc; then
+ docinto doc
+ dodoc doc/{actions,protocol.txt,README}
+ insinto /usr/share/doc/${PF}/pdf
+ doins doc/pdf/*.pdf
+ fi
+
+ mv "${D}"/etc/nas/nasd.conf{.eg,}
+
+ newconfd "${FILESDIR}"/nas.conf.d nas
+ newinitd "${FILESDIR}"/nas.init.d nas
+}
+
+pkg_postinst() {
+ elog "To enable NAS on boot you will have to add it to the"
+ elog "default profile, issue the following command as root:"
+ elog "# rc-update add nas default"
+}