--- /dev/null
+# ChangeLog for sci-physics/comedi-calibrate
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*comedi-calibrate-9999 (27 Jan 2012)
+ 27 Jan 2012; W. Trevor King <wking@drexel.edu> ChangeLog, metadata.xml,
+ comedi-calibrate-9999.ebuild,
+ comedi-calibrate-9999-comedi_soft_calibrate-data-destdir.patch:
+ - Created ebuild suite for comedi-calibrate.
+ - Added initial ChangeLog which should be updated whenever the
+ package is updated in any way. This changelog is targetted to
+ users. This means that the comments should well explained and
+ written in clean English. The details about writing correct
+ changelogs are explained in the skel.ChangeLog file which you can
+ find in the root directory of the portage repository.
--- /dev/null
+AUX comedi-calibrate-9999-comedi_soft_calibrate-data-destdir.patch 515 RMD160 dcae09bccde0d5637a738b1bbc16dc7a97d71822 SHA1 6b4dee6c7e265aa328a9346de38bce8610a6a345 SHA256 f57712e52dab67cb7d1f45665ffe27d55ef77b3dcc1280b53a8d2032ea6d2cd7
+EBUILD comedi-calibrate-9999.ebuild 783 RMD160 72b8aca426709d041035f13e4e42ae413ab5a72b SHA1 8a4398e539271141b3314d419cd6d536cad9bfe5 SHA256 ec19176453d4f0107c75c3f2706acc03e29872747d74a3509cf69dd1b7d2aa9b
+MISC ChangeLog 772 RMD160 1c865d0e008452fcdeeee9ae0f1356437e0364e2 SHA1 2b6630c6474b7eae743a5401e58554284f9dfa51 SHA256 d41e4dbba7956d480b29d10b54bd4316cc67aa1d8be7d708a4fa4cd7e5d1628b
+MISC metadata.xml 247 RMD160 6735f3a5dd2d7a2b70589d1693f35d54291b7147 SHA1 c015969fe50967340dd050a44cb9f8a30b5e34a5 SHA256 9e65060e5f9d0a50d28c7a69d9c27fed6c3037fdd3e420cc276627fde2794f72
--- /dev/null
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+inherit autotools
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-2
+ EGIT_BRANCH="master"
+ EGIT_REPO_URI="git://comedi.org/git/comedi/${PN/-/_}.git"
+ SRC_URI=""
+else
+ SRC_URI="http://www.comedi.org/download/${PN/-/_}-${PV}.tar.gz"
+fi
+
+DESCRIPTION="Comedi calibration utilities."
+HOMEPAGE="http://www.comedi.org"
+
+IUSE="doc"
+KEYWORDS="~x86 ~amd64"
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+RDEPEND=">=sci-libs/comedilib-${PV}
+ sci-libs/gsl
+ dev-libs/boost"
+DEPEND="${RDEPEND}
+ sci-libs/gsl
+ sys-devel/flex
+ sys-devel/bison"
+
+src_prepare()
+{
+ epatch "${FILESDIR}/${PN}-9999-comedi_soft_calibrate-data-destdir.patch"
+ if [ "${PV}" == "9999" ] ; then
+ eautoreconf
+ fi
+}
--- /dev/null
+diff --git a/comedi_soft_calibrate/Makefile.am b/comedi_soft_calibrate/Makefile.am
+index 1fb877a..9449ca0 100644
+--- a/comedi_soft_calibrate/Makefile.am
++++ b/comedi_soft_calibrate/Makefile.am
+@@ -9,7 +9,7 @@ comedi_soft_calibrate_LDADD = ../libcomedi_calibrate/libcomedi_calibrate.a \
+ -lcomedi -lboost_program_options -lgsl -lgslcblas -lm
+
+ install-data-local:
+- $(INSTALL) -d $(localstatedir)/lib/comedi/calibrations
++ $(INSTALL) -d $(DESTDIR)$(localstatedir)/lib/comedi/calibrations
+
+ EXTRA_DIST = results
+
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd></herd>
+ <maintainer>
+ <email>wking@drexel.edu</email>
+ <name>W. Trevor King</name>
+ </maintainer>
+</pkgmetadata>