diff options
author | Mike Frysinger <vapier@gentoo.org> | 2002-11-05 18:03:24 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2002-11-05 18:03:24 +0000 |
commit | 49f5be3ac70fb3e44130f37d2c8dd49348baa9a2 (patch) | |
tree | 4074d927f887e19c22f068d862b964b0be4be549 /media-sound | |
parent | realplayer support .. (diff) | |
download | gentoo-2-49f5be3ac70fb3e44130f37d2c8dd49348baa9a2.tar.gz gentoo-2-49f5be3ac70fb3e44130f37d2c8dd49348baa9a2.tar.bz2 gentoo-2-49f5be3ac70fb3e44130f37d2c8dd49348baa9a2.zip |
Initial ebuild
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/emu10k1/ChangeLog | 13 | ||||
-rw-r--r-- | media-sound/emu10k1/emu10k1-0.20a.ebuild | 51 | ||||
-rw-r--r-- | media-sound/emu10k1/files/digest-emu10k1-0.20a | 1 | ||||
-rw-r--r-- | media-sound/emu10k1/files/modules-emu10k1 | 2 |
4 files changed, 67 insertions, 0 deletions
diff --git a/media-sound/emu10k1/ChangeLog b/media-sound/emu10k1/ChangeLog new file mode 100644 index 000000000000..d4dd6807674f --- /dev/null +++ b/media-sound/emu10k1/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for media-sound/emu10k1 +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/emu10k1/ChangeLog,v 1.1 2002/11/05 18:03:24 vapier Exp $ + +*emu10k1-0.20a (05 Nov 2002) + + 05 Nov 2002; Mike Frysinger <vapier@gentoo.org> : + Initial import. Contributers (myself): + Doug Haas <haas.118@osu.edu> + Eric Favre <e.f@laposte.net> + John Herdy <JohnHerdy@Hotmail.com> + psypete <psypete@windstone.darktech.org> + And others ... :P diff --git a/media-sound/emu10k1/emu10k1-0.20a.ebuild b/media-sound/emu10k1/emu10k1-0.20a.ebuild new file mode 100644 index 000000000000..38135a2ef926 --- /dev/null +++ b/media-sound/emu10k1/emu10k1-0.20a.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/emu10k1/emu10k1-0.20a.ebuild,v 1.1 2002/11/05 18:03:24 vapier Exp $ + +MY_P="${P/-/-v}" +DESCRIPTION="Drivers, utilities, and effects for Sound Blaster cards (SBLive!, SB512, Audigy)" +SRC_URI="mirror://sourceforge/emu10k1/${MY_P}.tar.bz2" +HOMEPAGE="http://www.sourceforge.net/projects/emu10k1/" + +DEPEND="virtual/linux-sources" +RDEPEND="media-sound/aumix" + +KEYWORDS="~x86 -ppc -sparc -sparc64 -alpha" +SLOT="${KV}" +LICENSE="GPL-2" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + [ -z "$KV" ] && die "Couldn't detect kernel version. Does /usr/src/linux exist?" + return 0 +} + +src_compile() { + make || die "make failed" + make all || die "make all failed" + make tools || die "make tools failed" +} + +src_install() { + insinto /etc/modules.d + newins ${FILESDIR}/modules-emu10k1 emu10k1 + + # first install the main parts + make DESTDIR=${D} install || die "could not install" + + # now fix up the script so it'll install into /usr and not /usr/local + for f in ${S}/utils/{Makefile.config,scripts/{audigy,emu}-script} ; do + cp ${f} ${f}.old + sed -e 's:/usr/local:/usr:g' ${f}.old > ${f} + done + make DESTDIR=${D} install-tools || die "could not install tools" + + # clean up the /usr/etc directory + cd ${D}/usr/etc + mv `find -type f -perm +1` ../bin/ + mv * ${D}/etc/ + dosed 's:$BASE_PATH/etc:/etc:g' /usr/bin/emu-script + cd ${D} + rm -rf ${D}/usr/etc +} diff --git a/media-sound/emu10k1/files/digest-emu10k1-0.20a b/media-sound/emu10k1/files/digest-emu10k1-0.20a new file mode 100644 index 000000000000..c5afcbd75a1f --- /dev/null +++ b/media-sound/emu10k1/files/digest-emu10k1-0.20a @@ -0,0 +1 @@ +MD5 ffeab46e1b5ff9fd834dc78e240edf4b emu10k1-v0.20a.tar.bz2 286000 diff --git a/media-sound/emu10k1/files/modules-emu10k1 b/media-sound/emu10k1/files/modules-emu10k1 new file mode 100644 index 000000000000..6ca828827f64 --- /dev/null +++ b/media-sound/emu10k1/files/modules-emu10k1 @@ -0,0 +1,2 @@ +post-install emu10k1 /usr/bin/emu-script restore +pre-remove emu10k1 /usr/bin/emu-script save |