diff options
author | Danny van Dyk <kugelfang@gentoo.org> | 2004-07-10 17:21:52 +0000 |
---|---|---|
committer | Danny van Dyk <kugelfang@gentoo.org> | 2004-07-10 17:21:52 +0000 |
commit | 5e741c8048d71d690c77e996245c490cfa9fe83b (patch) | |
tree | 09693bc78ee4115ad40dda056b5ccd7dd5e21151 | |
parent | Stable on sparc wrt bug #49543. (Manifest recommit) (diff) | |
download | gentoo-2-5e741c8048d71d690c77e996245c490cfa9fe83b.tar.gz gentoo-2-5e741c8048d71d690c77e996245c490cfa9fe83b.tar.bz2 gentoo-2-5e741c8048d71d690c77e996245c490cfa9fe83b.zip |
Rev bumping to 1.6c-r2
-rw-r--r-- | media-libs/nas/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/nas/files/digest-nas-1.6c-r2 | 1 | ||||
-rw-r--r-- | media-libs/nas/nas-1.6c-r2.ebuild | 69 |
3 files changed, 77 insertions, 1 deletions
diff --git a/media-libs/nas/ChangeLog b/media-libs/nas/ChangeLog index a90506f29aad..a4a7d2c30d47 100644 --- a/media-libs/nas/ChangeLog +++ b/media-libs/nas/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/nas # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/ChangeLog,v 1.25 2004/07/10 15:02:32 kugelfang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/ChangeLog,v 1.26 2004/07/10 17:21:52 kugelfang Exp $ + +*nas-1.6c-r2 10 Jul 2004 + + 10 Jul 2004; Danny van Dyk <kugelfang@gentoo.org> +nas-1.6c-r1.ebuild: + Doing Jeremy a favour. Rev-bumping to -r2 and applying -header patch + unconditionally. 10 Jul 2004; Danny van Dyk <kugelfang@gentoo.org> +files/nas-1.6c-header.patch, nas-1.6c-r1.ebuild: diff --git a/media-libs/nas/files/digest-nas-1.6c-r2 b/media-libs/nas/files/digest-nas-1.6c-r2 new file mode 100644 index 000000000000..7bd4854014e2 --- /dev/null +++ b/media-libs/nas/files/digest-nas-1.6c-r2 @@ -0,0 +1 @@ +MD5 0cae31069e6855ceb198757285faaec4 nas-1.6c.src.tar.gz 1114367 diff --git a/media-libs/nas/nas-1.6c-r2.ebuild b/media-libs/nas/nas-1.6c-r2.ebuild new file mode 100644 index 000000000000..f89190c5246c --- /dev/null +++ b/media-libs/nas/nas-1.6c-r2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/nas-1.6c-r2.ebuild,v 1.1 2004/07/10 17:21:52 kugelfang Exp $ + +inherit eutils + +DESCRIPTION="Network Audio System" +SRC_URI="http://radscan.com/nas/${P}.src.tar.gz" +HOMEPAGE="http://radscan.com/nas.html" + +SLOT="0" +LICENSE="X11" +KEYWORDS="x86 ~sparc ~ppc ~hppa ~alpha ~amd64 ~ia64 ~mips ~ppc64" + +IUSE="static" + +# This is ridculuous, we only need xmkmf, but no other package +# provides it. 20020607 (Seemant): Actually, the homepage says it needs +# the entire X11 build environment, so this is ok. +RDEPEND="virtual/x11" + +DEPEND="${RDEPEND} + sys-apps/sed" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-header.patch +} + +src_compile() { + xmkmf + touch doc/man/lib/tmp.{_man,man} + CFLAGS="-O2 -ggdb" emake World || die +} + +src_install () { + make DESTDIR=${D} install || die + make DESTDIR=${D} install.man || die + + for i in ${D}/usr/X11R6/man/man?/*.?x + do + gzip -9 $i + done + + dodoc BUGS BUILDNOTES FAQ HISTORY README RELEASE TODO + mv ${D}/usr/X11R6/lib/X11/doc/html ${D}/usr/share/doc/${P}/ + rmdir ${D}/usr/X11R6/lib/X11/doc + + # 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 ${D}/etc/nas/nasd.conf + dosed 's,\(MixerInit.*\)"\(.*\)",\1"no",' /etc/nas/nasd.conf + + # Remove the static lib + use static || rm ${D}/usr/X11R6/lib/libaudio.a + + insinto /etc/conf.d + newins ${FILESDIR}/nas.conf.d nas + exeinto /etc/init.d + newexe ${FILESDIR}/nas.init.d nas +} + +pkg_postinst() { + einfo "To enable NAS on boot you will have to add it to the" + einfo "default profile, issue the following command as root to do so." + einfo "" + einfo "rc-update add nas default" +} |