diff options
-rw-r--r-- | media-sound/awesfx/ChangeLog | 11 | ||||
-rw-r--r-- | media-sound/awesfx/awesfx-0.4.4.ebuild | 61 | ||||
-rw-r--r-- | media-sound/awesfx/files/digest-awesfx-0.4.4 | 1 |
3 files changed, 73 insertions, 0 deletions
diff --git a/media-sound/awesfx/ChangeLog b/media-sound/awesfx/ChangeLog new file mode 100644 index 000000000000..512a82f16e0f --- /dev/null +++ b/media-sound/awesfx/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-sound/awesfx +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/awesfx/ChangeLog,v 1.1 2002/05/22 11:46:45 seemant Exp $ + +*awesfx-0.4.4 (22 May 2002) + + 22 May 2002; Seemant Kulleen <seemant@gentoo.org> awesfx-0.4.4.ebuild + files/digest-awesfx-0.4.4 : + + New package, submitted and created by Boehme.Silvio@afb.de (Silvio Boehme) + with a few modifications and tweaks by me. diff --git a/media-sound/awesfx/awesfx-0.4.4.ebuild b/media-sound/awesfx/awesfx-0.4.4.ebuild new file mode 100644 index 000000000000..a8195fe873f7 --- /dev/null +++ b/media-sound/awesfx/awesfx-0.4.4.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author: Silvio Boehme <Silvio.Boehme@gmx.net> +# $Header: /var/cvsroot/gentoo-x86/media-sound/awesfx/awesfx-0.4.4.ebuild,v 1.1 2002/05/22 11:46:45 seemant Exp $ + +DESCRIPTION="AWE Utilities - sfxload" +HOMEPAGE="http://mitglied.lycos.de/iwai/awedrv.html" + +S=${WORKDIR}/${P} +SRC_URI="http://mitglied.lycos.de/iwai/${P}.tar.bz2" + +DEPEND="virtual/glibc" +SLOT="0" + + +src_unpack() { + unpack ${A} ; cd ${S} + # use shared build, not static + sed -e "s:\$(CDEBUGFLAGS)\( \$(CINCS)\) \$(CDEFS):\1 ${CFLAGS}:" \ + Makefile-shared > Makefile + + cd awelib + sed -e "s:\$(CDEBUGFLAGS)\( \$(CINCS)\) \$(CDEFS):\1 ${CFLAGS}:" \ + Makefile-shared > Makefile + + mv config.h config.h.orig + sed -e 's|/usr/local/lib/sfbank:/dos/sb32/sfbank|/usr/share/sfbank|' \ + config.h.orig > config.h +} + +src_compile() { + export CC=gcc + make \ + INSTDIR=${D}/usr \ + BINDIR=${D}/usr/bin \ + INCDIR=${D}/usr/include/awe \ + LIBDIR=${D}/usr/lib \ + MANDIR=${D}/usr/share/man \ + BANKDIR=${D}/usr/share/sfbank \ + all || die "compile problem" +} + +src_install() { + + make \ + INSTDIR=${D}/usr \ + BINDIR=${D}/usr/bin \ + INCDIR=${D}/usr/include/awe \ + LIBDIR=${D}/usr/lib \ + MANDIR=${D}/usr/share/man \ + BANKDIR=${D}/usr/share/sfbank \ + install || die "compile problem" + + dodoc docs/* +} + +pkg_postinst() { + einfo "Please copy your SoundFont files from the original CD-ROM" + einfo "shipped with your soundcard to" + einfo "/usr/share/sfbank" +} diff --git a/media-sound/awesfx/files/digest-awesfx-0.4.4 b/media-sound/awesfx/files/digest-awesfx-0.4.4 new file mode 100644 index 000000000000..38e3dbe27216 --- /dev/null +++ b/media-sound/awesfx/files/digest-awesfx-0.4.4 @@ -0,0 +1 @@ +MD5 0f79e9b5f0fccf6b876b1256d2450e8e awesfx-0.4.4.tar.bz2 58426 |