summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-10-28 20:05:40 +0000
committerMike Frysinger <vapier@gentoo.org>2003-10-28 20:05:40 +0000
commit65ba6c0f3b2e6aacf1e4d70ea61b93443c1d6c99 (patch)
treeb30b85af0dc1dbfd744db8987926ebaa3b84a70b /media-libs/dumb
parentFixed DEPEND error (diff)
downloadgentoo-2-65ba6c0f3b2e6aacf1e4d70ea61b93443c1d6c99.tar.gz
gentoo-2-65ba6c0f3b2e6aacf1e4d70ea61b93443c1d6c99.tar.bz2
gentoo-2-65ba6c0f3b2e6aacf1e4d70ea61b93443c1d6c99.zip
touchups
Diffstat (limited to 'media-libs/dumb')
-rw-r--r--media-libs/dumb/dumb-0.9.2-r1.ebuild26
-rw-r--r--media-libs/dumb/dumb-0.9.2.ebuild31
-rw-r--r--media-libs/dumb/files/digest-dumb-0.9.21
3 files changed, 16 insertions, 42 deletions
diff --git a/media-libs/dumb/dumb-0.9.2-r1.ebuild b/media-libs/dumb/dumb-0.9.2-r1.ebuild
index 2b6b19de9afa..696519963eec 100644
--- a/media-libs/dumb/dumb-0.9.2-r1.ebuild
+++ b/media-libs/dumb/dumb-0.9.2-r1.ebuild
@@ -1,33 +1,40 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/dumb/dumb-0.9.2-r1.ebuild,v 1.1 2003/07/20 04:45:20 jje Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/dumb/dumb-0.9.2-r1.ebuild,v 1.2 2003/10/28 20:05:40 vapier Exp $
-DESCRIPTION="IT/XM/S3M/MOD player library with click removal and IT filters. Most users will also want the 'aldumb' package."
-SRC_URI="mirror://sourceforge/dumb/${P}-fixed.tar.gz"
+DESCRIPTION="IT/XM/S3M/MOD player library with click removal and IT filters"
HOMEPAGE="http://dumb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/dumb/${P}-fixed.tar.gz"
LICENSE="DUMB-0.9.2"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="x86"
-IUSE=""
DEPEND=""
S=${WORKDIR}/${PN}
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ cat << EOF > make/config.txt
+include make/unix.inc
+ALL_TARGETS := core core-examples core-headers
+PREFIX := /usr
+EOF
+}
+
src_compile() {
- echo 'include make/unix.inc' > make/config.txt || die
- echo 'ALL_TARGETS := core core-examples core-headers' >> make/config.txt || die
- echo 'PREFIX := /usr' >> make/config.txt || die
emake OFLAGS="${CFLAGS}" all || die
}
src_install() {
dodir /usr/lib /usr/include /usr/bin
make install PREFIX=${D}/usr || die
-
dodoc readme.txt release.txt docs/*
+}
+pkg_postinst() {
einfo
einfo "DUMB's core has been installed. This will enable you to convert module"
einfo "files to PCM data (ready for sending to /dev/dsp, writing to a .wav"
@@ -45,4 +52,3 @@ src_install() {
einfo "how DUMB would be compiled manually."
einfo
}
-
diff --git a/media-libs/dumb/dumb-0.9.2.ebuild b/media-libs/dumb/dumb-0.9.2.ebuild
deleted file mode 100644
index bab8accaf185..000000000000
--- a/media-libs/dumb/dumb-0.9.2.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/dumb/dumb-0.9.2.ebuild,v 1.1 2003/06/06 21:16:43 robh Exp $
-
-DESCRIPTION="IT/XM/S3M/MOD player library with click removal and IT filters"
-SRC_URI="mirror://sourceforge/dumb/${P}-fixed.tar.gz"
-HOMEPAGE="http://dumb.sourceforge.net/"
-
-LICENSE="DUMB-0.9.2"
-SLOT="0"
-KEYWORDS="~x86"
-
-IUSE="dumb-allegro"
-DEPEND="dumb-allegro? ( media-libs/allegro )"
-
-S=${WORKDIR}/${PN}
-
-src_compile() {
- echo 'include make/unix.inc' > make/config.txt
- echo 'ALL_TARGETS := core core-examples core-headers' >> make/config.txt
- if [ "`use dumb-allegro`" ]; then echo 'ALL_TARGETS += allegro allegro-examples allegro-headers' >> make/config.txt; fi
- echo 'PREFIX := /usr' >> make/config.txt
- emake OFLAGS="${CFLAGS}" all || die
-}
-
-src_install() {
- dodir /usr/lib /usr/include /usr/bin
- make install PREFIX=${D}/usr || die
-
- dodoc readme.txt release.txt docs/*
-}
diff --git a/media-libs/dumb/files/digest-dumb-0.9.2 b/media-libs/dumb/files/digest-dumb-0.9.2
deleted file mode 100644
index 575391fbac0a..000000000000
--- a/media-libs/dumb/files/digest-dumb-0.9.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 0ce45f64934e6d5d7b82a55108596680 dumb-0.9.2-fixed.tar.gz 145722