# ChangeLog for app-portage/herdstat
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/herdstat/ChangeLog,v 1.59 2005/09/30 07:00:26 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/herdstat/ChangeLog,v 1.60 2005/10/06 18:36:48 ka0ttic Exp $
+
+*herdstat-1.1.2_alpha6 (06 Oct 2005)
+
+ 06 Oct 2005; Aaron Walker <ka0ttic@gentoo.org>
+ +herdstat-1.1.2_alpha6.ebuild:
+ Version bump; the huge convienence lib has been broken out to
+ dev-cpp/libherdstat.
*herdstat-1.1.2_alpha5 (30 Sep 2005)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 837dc0ab915644fbe910d2d1850cd48a herdstat-1.1.2_alpha5.ebuild 2025
+MD5 da05b5742804d0fa67da3982768a66d9 ChangeLog 8789
+MD5 b586369ffb96b93ca9d425778647f0eb files/digest-herdstat-1.1.1_p7 70
+MD5 5e5c08cf13e9cb7f6ae1522bfb625efa files/digest-herdstat-1.1.2_alpha5 74
+MD5 54e24a3646a09adf794b79126601d1ad files/digest-herdstat-1.1.2_alpha6 74
MD5 18038d85565217cf092d271db1b5243e herdstat-1.1.1_p7.ebuild 1926
-MD5 de5161e4af60a2231d48da97e084981d ChangeLog 8581
+MD5 837dc0ab915644fbe910d2d1850cd48a herdstat-1.1.2_alpha5.ebuild 2025
+MD5 a9a42ca25e9ef9b1ca7d46312d9c92cb herdstat-1.1.2_alpha6.ebuild 1886
MD5 f8d10f350e91f30316ea4e1bd1e76470 metadata.xml 254
-MD5 5e5c08cf13e9cb7f6ae1522bfb625efa files/digest-herdstat-1.1.2_alpha5 74
-MD5 b586369ffb96b93ca9d425778647f0eb files/digest-herdstat-1.1.1_p7 70
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFDPOK4EZCkKN40op4RAo0cAKClby18Ux3GcLSqF0SzM/AqKmqKjwCggrWV
-oAnSvj6S6BEMcP2cJyDZ0fQ=
-=r4pa
+iD8DBQFDRW7cEZCkKN40op4RAu0mAKCE/8E05omt7eqr2OTBWJImv+Y8ewCgl6l3
+h1yw2knGwSoBx9atQN2bQ5M=
+=l+eW
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/herdstat/herdstat-1.1.2_alpha6.ebuild,v 1.1 2005/10/06 18:36:48 ka0ttic Exp $
+
+inherit bash-completion
+
+DESCRIPTION="A multi-purpose query tool capable of things such as displaying herd/developer information and displaying category/package metadata"
+HOMEPAGE="http://developer.berlios.de/projects/herdstat/"
+SRC_URI="http://download.berlios.de/${PN}/${P}.tar.bz2"
+RESTRICT="primaryuri"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
+IUSE="debug doc"
+
+RDEPEND="dev-cpp/libherdstat"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4
+ dev-util/pkgconfig
+ doc? ( dev-python/docutils )"
+
+src_compile() {
+ econf \
+ $(use_enable debug) \
+ || die "econf failed"
+
+ emake || die "emake failed"
+
+ if use doc ; then
+ cd doc ; make html || die "failed to build html"
+ fi
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dobashcompletion bashcomp
+ dodoc AUTHORS ChangeLog README TODO NEWS doc/*.txt \
+ doc/herdstatrc.example
+ use doc && dohtml doc/*
+
+ keepdir /var/lib/herdstat
+ fperms 0775 /var/lib/herdstat
+}
+
+pkg_preinst() {
+ chgrp portage ${IMAGE}/var/lib/herdstat
+}
+
+pkg_postinst() {
+ # remove any previous caches, as it's possible that the internal
+ # format has changed, and may cause bugs.
+ rm -f ${ROOT}/var/lib/herdstat/*cache*
+
+ einfo
+ einfo "You must be in the portage group to use herdstat."
+ einfo
+ if use doc ; then
+ einfo "See /usr/share/doc/${PF}/html/examples.html"
+ else
+ einfo "See /usr/share/doc/${PF}/examples.txt.gz"
+ fi
+ einfo "for a sleu of examples on using herdstat."
+ einfo
+ einfo "As of 1.1.1_rc6, ${PN} supports configuration files."
+ einfo "See /usr/share/doc/${PF}/herdstatrc.example.gz"
+ einfo "for more information."
+ einfo
+
+ bash-completion_pkg_postinst
+}