summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD.M.D. Ljungmark <spider@gentoo.org>2002-06-02 00:08:03 +0000
committerD.M.D. Ljungmark <spider@gentoo.org>2002-06-02 00:08:03 +0000
commit8b30a5e11268b4fd6a3554b01b01c8a7ce7045ed (patch)
tree010bed12b7573962dee38df3dbffdc2801d9ece5 /app-text/scrollkeeper
parentgtkam added. Initial version. - stroke (diff)
downloadgentoo-2-8b30a5e11268b4fd6a3554b01b01c8a7ce7045ed.tar.gz
gentoo-2-8b30a5e11268b4fd6a3554b01b01c8a7ce7045ed.tar.bz2
gentoo-2-8b30a5e11268b4fd6a3554b01b01c8a7ce7045ed.zip
new scrollkeeper version
Diffstat (limited to 'app-text/scrollkeeper')
-rw-r--r--app-text/scrollkeeper/ChangeLog6
-rw-r--r--app-text/scrollkeeper/files/digest-scrollkeeper-0.3.91
-rw-r--r--app-text/scrollkeeper/files/scrollkeeper-0.3.9.diff10
-rw-r--r--app-text/scrollkeeper/scrollkeeper-0.3.9.ebuild80
4 files changed, 96 insertions, 1 deletions
diff --git a/app-text/scrollkeeper/ChangeLog b/app-text/scrollkeeper/ChangeLog
index a700becbb361..49a144be8d39 100644
--- a/app-text/scrollkeeper/ChangeLog
+++ b/app-text/scrollkeeper/ChangeLog
@@ -1,8 +1,12 @@
# ChangeLog for app-text/scrollkeeper
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper/ChangeLog,v 1.5 2002/06/01 17:54:11 spider Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper/ChangeLog,v 1.6 2002/06/02 00:08:03 spider Exp $
+*scrollkeeper-0.3.9 (1 Jun 2002)
+ 1 Jun 2002; Spider <spider@gentoo.org> scrollkeeper-0.3.9.ebuild :
+ new version released. fixed the bugs we patched
+
*scrollkeeper-0.3.8-r2 (1 Jun 2002)
1 Jun 2002; Spider <spider@gentoo.org> scrollkeeper-0.3.8-r2.ebuild :
diff --git a/app-text/scrollkeeper/files/digest-scrollkeeper-0.3.9 b/app-text/scrollkeeper/files/digest-scrollkeeper-0.3.9
new file mode 100644
index 000000000000..fcec2fa00ea4
--- /dev/null
+++ b/app-text/scrollkeeper/files/digest-scrollkeeper-0.3.9
@@ -0,0 +1 @@
+MD5 4ab0ddcbd0d8f00542ea4226272d79b2 scrollkeeper-0.3.9.tar.gz 418815
diff --git a/app-text/scrollkeeper/files/scrollkeeper-0.3.9.diff b/app-text/scrollkeeper/files/scrollkeeper-0.3.9.diff
new file mode 100644
index 000000000000..8d35ca35792c
--- /dev/null
+++ b/app-text/scrollkeeper/files/scrollkeeper-0.3.9.diff
@@ -0,0 +1,10 @@
+--- Makefile.in.old Wed May 1 15:55:59 2002
++++ Makefile.in Wed May 1 15:56:07 2002
+@@ -222,7 +222,6 @@
+
+ install-data-am: install-dtdsHEADERS
+ @$(NORMAL_INSTALL)
+- $(MAKE) $(AM_MAKEFLAGS) install-data-hook
+ install-data: install-data-am
+
+ install-am: all-am
diff --git a/app-text/scrollkeeper/scrollkeeper-0.3.9.ebuild b/app-text/scrollkeeper/scrollkeeper-0.3.9.ebuild
new file mode 100644
index 000000000000..d90baf833f69
--- /dev/null
+++ b/app-text/scrollkeeper/scrollkeeper-0.3.9.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper/scrollkeeper-0.3.9.ebuild,v 1.1 2002/06/02 00:08:03 spider Exp $
+
+# Do _NOT_ strip symbols in the build! Need both lines for Portage 1.8.9+
+DEBUG="yes"
+RESTRICT="nostrip"
+# force debug information
+CFLAGS="${CFLAGS} -g"
+CXXFLAGS="${CXXFLAGS} -g"
+
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Scrollkeeper"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+http://telia.dl.sourceforge.net/sourceforge/${PN}/${P}.tar.gz
+http://unc.dl.sourceforge.net/sourceforge/${PN}/${P}.tar.gz
+http://belnet.dl.sourceforge.net/sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://scrollkeeper.sourceforge.net"
+SLOT="0.3"
+LICENSE="FDL-1.1 LGPL-2.1"
+
+
+RDEPEND=">=dev-libs/libxml2-2.4.19
+ >=dev-libs/libxslt-1.0.14
+ >=sys-libs/zlib-1.1.3
+ >=app-text/docbook-xml-dtd-4.1.2-r2
+ >=app-text/docbook-sgml-utils-0.6.6"
+
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.17
+ nls? ( sys-devel/gettext )"
+src_compile() {
+ local myconf
+
+ if [ -z "`use nls`" ] ; then
+ myconf ="--disable-nls"
+ fi
+ # hack around some to make sure we find the libxml2 includes. odd bug.
+ CFLAGS="${CFLAGS} -I/usr/include/libxml2/libxml"
+ cd extract/dtds
+ patch -p0 < ${FILESDIR}/${P}.diff
+ cd ${S}
+
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ $myconf || die
+
+ emake || die
+}
+
+src_install() {
+ cd omf-install
+ cp Makefile Makefile.old
+ sed -e "s:scrollkeeper-update.*::g" Makefile.old > Makefile
+ rm Makefile.old
+ cd ${S}
+ make DESTDIR=${D} install || die
+
+ dodoc AUTHORS INSTALL TODO COPYING* ChangeLog README NEWS
+}
+
+pkg_postinst() {
+ echo "installing catalog"
+ /usr/bin/xmlcatalog --noout --add "public" \
+ "-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN" \
+ "/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd" /etc/xml/catalog
+
+ echo ">>> Rebuilding Scrollkeeper database..."
+ scrollkeeper-rebuilddb
+ echo ">>> Updating Scrollkeeper database..."
+ scrollkeeper-update -v
+}
+
+pkg_postrm() {
+ einfo ">>> Scrollkeeper ${PV} unmerged, if you removed the package"
+ einfo "you might want to clean up /var/lib/scrollkeeper."
+}