summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-10-01 07:57:07 +0000
committerTim Harder <radhermit@gentoo.org>2011-10-01 07:57:07 +0000
commit8ebe21c3d7f3d8858bfd0c6ec7e6bd4d53f08d98 (patch)
tree28f993e1eb77916cfe5f2cf3db619a700738cd45
parentBump EAPI, use emake in src_install, bug #385081 thank Nikoli for this job. (diff)
downloadgentoo-2-8ebe21c3d7f3d8858bfd0c6ec7e6bd4d53f08d98.tar.gz
gentoo-2-8ebe21c3d7f3d8858bfd0c6ec7e6bd4d53f08d98.tar.bz2
gentoo-2-8ebe21c3d7f3d8858bfd0c6ec7e6bd4d53f08d98.zip
Initial import.
(Portage version: 2.2.0_alpha60/cvs/Linux x86_64)
-rw-r--r--media-libs/libsmf/ChangeLog10
-rw-r--r--media-libs/libsmf/libsmf-1.3.ebuild42
-rw-r--r--media-libs/libsmf/metadata.xml5
3 files changed, 57 insertions, 0 deletions
diff --git a/media-libs/libsmf/ChangeLog b/media-libs/libsmf/ChangeLog
new file mode 100644
index 000000000000..7d0313c56115
--- /dev/null
+++ b/media-libs/libsmf/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-libs/libsmf
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsmf/ChangeLog,v 1.1 2011/10/01 07:57:07 radhermit Exp $
+
+*libsmf-1.3 (01 Oct 2011)
+
+ 01 Oct 2011; Tim Harder <radhermit@gentoo.org> +libsmf-1.3.ebuild,
+ +metadata.xml:
+ Initial import.
+
diff --git a/media-libs/libsmf/libsmf-1.3.ebuild b/media-libs/libsmf/libsmf-1.3.ebuild
new file mode 100644
index 000000000000..d73a92580cf5
--- /dev/null
+++ b/media-libs/libsmf/libsmf-1.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsmf/libsmf-1.3.ebuild,v 1.1 2011/10/01 07:57:07 radhermit Exp $
+
+EAPI=4
+
+inherit autotools-utils
+
+DESCRIPTION="Standard MIDI File format library"
+HOMEPAGE="http://libsmf.sourceforge.net/api/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc readline static-libs"
+
+RDEPEND=">=dev-libs/glib-2.2:2
+ readline? ( sys-libs/readline )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ dev-util/pkgconfig"
+
+src_configure() {
+ econf \
+ $(use_with readline) \
+ $(use_enable static-libs static)
+}
+
+src_compile() {
+ default
+
+ if use doc ; then
+ doxygen doxygen.cfg || die
+ fi
+}
+
+src_install() {
+ default
+ remove_libtool_files all
+ use doc && dohtml -r api
+}
diff --git a/media-libs/libsmf/metadata.xml b/media-libs/libsmf/metadata.xml
new file mode 100644
index 000000000000..e1774e3d9ad7
--- /dev/null
+++ b/media-libs/libsmf/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sound</herd>
+</pkgmetadata>