summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libgig/libgig-2.0.1.ebuild')
-rw-r--r--media-libs/libgig/libgig-2.0.1.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/media-libs/libgig/libgig-2.0.1.ebuild b/media-libs/libgig/libgig-2.0.1.ebuild
new file mode 100644
index 000000000000..eba8505310df
--- /dev/null
+++ b/media-libs/libgig/libgig-2.0.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgig/libgig-2.0.1.ebuild,v 1.1 2005/07/10 21:07:16 fvdpol Exp $
+
+inherit eutils
+
+DESCRIPTION="libgig is a C++ library for loading Gigasampler files and DLS (Downloadable Sounds) Level 1/2 files."
+HOMEPAGE="http://stud.fh-heilbronn.de/~cschoene/projects/libgig/"
+SRC_URI="http://stud.fh-heilbronn.de/~cschoene/projects/libgig/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+RDEPEND="
+ >=media-libs/libsndfile-1.0.2
+ >=media-libs/audiofile-0.2.3
+ doc? ( app-doc/doxygen )"
+
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ econf || die "./configure failed"
+ emake -j1 || die "make failed"
+
+ if use doc; then
+ make docs || die "make docs failed"
+ fi
+}
+
+src_install() {
+ einstall || die "einstall failed"
+ dodoc AUTHORS ChangeLog INSTALL TODO README
+
+ if use doc; then
+ mv ${S}/doc/html ${D}/usr/share/doc/${PF}/
+ fi
+}