summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-misc/ams/Manifest3
-rw-r--r--sci-misc/ams/ams-1.3.0.ebuild30
-rw-r--r--sci-misc/ams/files/ams.patch14
3 files changed, 47 insertions, 0 deletions
diff --git a/sci-misc/ams/Manifest b/sci-misc/ams/Manifest
new file mode 100644
index 0000000..7a5824d
--- /dev/null
+++ b/sci-misc/ams/Manifest
@@ -0,0 +1,3 @@
+AUX ams.patch 506 RMD160 cbe127d75aca253611b81755189d617cdd03f8ac SHA1 9eed65b01577ae57fad271a05e66793f6b34d8de SHA256 0080cb3a6a4917eb94185d83bac56420aec84a91cabd7e48f330ab67302b2e85
+DIST ams-1.3.0.tar.gz 2295667 RMD160 e80a6f5f95a48a5989564bfab02a0820255b2b79 SHA1 855dd998046ac372e58cd339d963cde7999509ab SHA256 0430e11912cd572b24524b3a67180d3468ef374db48777109869c5bb3012612b
+EBUILD ams-1.3.0.ebuild 620 RMD160 5f8b3bec95afa555d2193b7952effcddcab96991 SHA1 bb5db80e74a553d443600a369f7c181e9d3ba110 SHA256 2b9ee31046aafb9b5f4a16a2182b9ce5ebb01f385b71e2091384b3204e6b8c62
diff --git a/sci-misc/ams/ams-1.3.0.ebuild b/sci-misc/ams/ams-1.3.0.ebuild
new file mode 100644
index 0000000..5c58604
--- /dev/null
+++ b/sci-misc/ams/ams-1.3.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: Fixes send to ps@twin.jikos.cz $
+
+EAPI=2
+
+inherit eutils
+
+DESCRIPTION="GUI for Development System for Auditory Modelling"
+HOMEPAGE="http://www.pdn.cam.ac.uk/groups/dsam"
+SRC_URI="http://prdownloads.sourceforge.net/dsam/ams-1.3.0.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND="sci-misc/dsam[wxwidgets]"
+
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ epatch "${FILESDIR}"/ams.patch || die
+ ./autogen.sh
+ econf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}
diff --git a/sci-misc/ams/files/ams.patch b/sci-misc/ams/files/ams.patch
new file mode 100644
index 0000000..682634b
--- /dev/null
+++ b/sci-misc/ams/files/ams.patch
@@ -0,0 +1,14 @@
+--- ams-1.3.0/mkunxinst.env 2010-01-18 14:47:19.000000000 +0100
++++ 22783/ams-1.3.0/mkunxinst.env.new 2010-11-04 21:15:29.000000000 +0100
+@@ -1,9 +1,9 @@
+ ## Local data install
+
+ install-data-local: Makefile.am
+- mkdir -p $(pkgdatadir)/$(DIRECTORY)
++ mkdir -p $(DESTDIR)/$(pkgdatadir)/$(DIRECTORY)
+ for data_file in $(EXTRA_DIST); do \
+- $(INSTALL_DATA) $$data_file $(pkgdatadir)/$(DIRECTORY) ; \
++ $(INSTALL_DATA) $$data_file $(DESTDIR)/$(pkgdatadir)/$(DIRECTORY) ; \
+ done
+
+ uninstall-local: