From dcef9f049096b758465fcc85e19c4892141fb9bb Mon Sep 17 00:00:00 2001 From: "D.M.D. Ljungmark" Date: Mon, 29 Jul 2002 03:30:09 +0000 Subject: new version and patch released --- app-text/scrollkeeper/ChangeLog | 6 +- .../scrollkeeper/files/digest-scrollkeeper-0.3.11 | 1 + .../files/scrollkeeper-0.3.11-gentoo.diff | 10 +++ app-text/scrollkeeper/scrollkeeper-0.3.11.ebuild | 96 ++++++++++++++++++++++ 4 files changed, 112 insertions(+), 1 deletion(-) create mode 100644 app-text/scrollkeeper/files/digest-scrollkeeper-0.3.11 create mode 100644 app-text/scrollkeeper/files/scrollkeeper-0.3.11-gentoo.diff create mode 100644 app-text/scrollkeeper/scrollkeeper-0.3.11.ebuild (limited to 'app-text/scrollkeeper') diff --git a/app-text/scrollkeeper/ChangeLog b/app-text/scrollkeeper/ChangeLog index ea8ef88b1318..f8ca1700b474 100644 --- a/app-text/scrollkeeper/ChangeLog +++ b/app-text/scrollkeeper/ChangeLog @@ -1,7 +1,11 @@ # 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.12 2002/07/24 01:02:36 gerk Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper/ChangeLog,v 1.13 2002/07/29 03:30:09 spider Exp $ +*scrollkeeper-0.3.11 (29 Jul 2002) + 29 Jul 2002; Spider scrollkeeper-0.3.11.ebuild : + Update ebuild and patch + *scrollkeeper-0.3.10 (12 Jul 2002) 20 Jul 2002; Mark Guertin : diff --git a/app-text/scrollkeeper/files/digest-scrollkeeper-0.3.11 b/app-text/scrollkeeper/files/digest-scrollkeeper-0.3.11 new file mode 100644 index 000000000000..fd45668c41d2 --- /dev/null +++ b/app-text/scrollkeeper/files/digest-scrollkeeper-0.3.11 @@ -0,0 +1 @@ +MD5 33ea7a193adcb2ff9534da68a0f8bd7f scrollkeeper-0.3.11.tar.gz 437816 diff --git a/app-text/scrollkeeper/files/scrollkeeper-0.3.11-gentoo.diff b/app-text/scrollkeeper/files/scrollkeeper-0.3.11-gentoo.diff new file mode 100644 index 000000000000..8d35ca35792c --- /dev/null +++ b/app-text/scrollkeeper/files/scrollkeeper-0.3.11-gentoo.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.11.ebuild b/app-text/scrollkeeper/scrollkeeper-0.3.11.ebuild new file mode 100644 index 000000000000..0c44d4880aed --- /dev/null +++ b/app-text/scrollkeeper/scrollkeeper-0.3.11.ebuild @@ -0,0 +1,96 @@ +# 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.11.ebuild,v 1.1 2002/07/29 03:30:09 spider Exp $ + +inherit libtool +KEYWORDS="x86 ppc" + +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" +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_unpack() { + unpack ${A} + + cd ${S}/extract/dtds + patch -p0 < ${FILESDIR}/${P}-gentoo.diff || die +} + +src_compile() { + elibtoolize + + local myconf="" + + use nls || myconf="${myconf} --disable-nls" + + # hack around some to make sure we find the libxml2 includes. odd bug. + #CFLAGS="${CFLAGS} -I/usr/include/libxml2/libxml" + + ./configure --host=${CHOST} \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + ${myconf} || die + + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc AUTHORS INSTALL TODO COPYING* ChangeLog README NEWS +} + +pkg_preinst() { + if [ -d ${ROOT}/usr/share/scrollkeeper/Templates ] + then + rm -rf ${ROOT}/usr/share/scrollkeeper/Templates + fi +} + +pkg_postinst() { + echo ">>> Installing catalog..." + ${ROOT}/usr/bin/xmlcatalog --noout --add "public" \ + "-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN" \ + "`echo "${ROOT}/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd" |sed -e "s://:/:g"`" \ + ${ROOT}/etc/xml/catalog + echo ">>> Rebuilding Scrollkeeper database..." + scrollkeeper-rebuilddb -q -p ${ROOT}/var/lib/scrollkeeper + echo ">>> Updating Scrollkeeper database..." + scrollkeeper-update -v &>${T}/foo +} + +pkg_postrm() { + if [ ! -x ${ROOT}/usr/bin/scrollkeeper-config ] + then + # SK is being removed, not upgraded. + # Remove all generated files + einfo ">>> Cleaning up ${ROOT}/var/lib/scrollkeeper..." + rm -rf ${ROOT}/var/lib/scrollkeeper + rm -rf ${ROOT}/var/log/scrollkeeper.log + rm -rf ${ROOT}/var/log/scrollkeeper.log.1 + ${ROOT}/usr/bin/xmlcatalog --noout --del \ + "${ROOT}/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd" \ + ${ROOT}/etc/xml/catalog + + einfo ">>> Scrollkeeper ${PV} unmerged, if you removed the package" + einfo ">>> you might want to clean up /var/lib/scrollkeeper." + fi +} + -- cgit v1.2.3-65-gdbad