diff options
author | Samuli Suominen <drac@gentoo.org> | 2007-04-02 14:22:38 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2007-04-02 14:22:38 +0000 |
commit | e40df3c8be5290f1141e08fad3c47725b6440d5c (patch) | |
tree | 93dc6574de0c6d19fd3db7a3f6ae6dd189e4056d /media-libs/nas/nas-1.8b.ebuild | |
parent | Add ~ia64 keyword wrt bug 170301 (diff) | |
download | gentoo-2-e40df3c8be5290f1141e08fad3c47725b6440d5c.tar.gz gentoo-2-e40df3c8be5290f1141e08fad3c47725b6440d5c.tar.bz2 gentoo-2-e40df3c8be5290f1141e08fad3c47725b6440d5c.zip |
Version bump for security bug 171428.
(Portage version: 2.1.2.3)
Diffstat (limited to 'media-libs/nas/nas-1.8b.ebuild')
-rw-r--r-- | media-libs/nas/nas-1.8b.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/media-libs/nas/nas-1.8b.ebuild b/media-libs/nas/nas-1.8b.ebuild new file mode 100644 index 000000000000..770f60d97043 --- /dev/null +++ b/media-libs/nas/nas-1.8b.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/nas-1.8b.ebuild,v 1.1 2007/04/02 14:22:38 drac Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="Network Audio System" +HOMEPAGE="http://radscan.com/nas.html" +SRC_URI="http://radscan.com/nas/${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)" AS="$(tc-getAS)" LD="$(tc-getLD)" \ + RANLIB="$(tc-getRANLIB)" World || die "emake failed." +} + +src_install () { + emake DESTDIR="${D}" install || die "emake install failed." + emake DESTDIR="${D}" install.man || die "emake install.man failed." + + dodoc BUGS BUILDNOTES FAQ HISTORY README RELEASE TODO + use doc && dodoc doc/*.ps doc/{actions,README} doc/pdf/*.pdf doc/*.txt + + # rename example nasd.conf.eg to nasd.conf and change it so that NAS + # doesn't change mixer's settings (inspired by Debian package): + mv "${D}"/etc/nas/nasd.conf{.eg,} + sed -i -e 's,\(MixerInit.*\)"\(.*\)",\1"no",' "${D}"/etc/nas/nasd.conf + + 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 to do so." + elog "" + elog "rc-update add nas default" +} |