diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-07-10 23:53:18 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-07-10 23:53:18 +0000 |
commit | 26940599190376635e619e5482f8f8a25b7dfaed (patch) | |
tree | a798a96e39d6e27649685b3c0fd0602a5e459864 /app-text | |
parent | added KEYWORDS (diff) | |
download | gentoo-2-26940599190376635e619e5482f8f8a25b7dfaed.tar.gz gentoo-2-26940599190376635e619e5482f8f8a25b7dfaed.tar.bz2 gentoo-2-26940599190376635e619e5482f8f8a25b7dfaed.zip |
fixed my screw ups :(
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/scrollkeeper/files/digest-scrollkeeper-0.2-r4 | 1 | ||||
-rw-r--r-- | app-text/scrollkeeper/files/scrollkeeper-0.3.10-gentoo.diff | 10 | ||||
-rw-r--r-- | app-text/scrollkeeper/scrollkeeper-0.2-r4.ebuild | 61 |
3 files changed, 72 insertions, 0 deletions
diff --git a/app-text/scrollkeeper/files/digest-scrollkeeper-0.2-r4 b/app-text/scrollkeeper/files/digest-scrollkeeper-0.2-r4 new file mode 100644 index 000000000000..087d5909cb86 --- /dev/null +++ b/app-text/scrollkeeper/files/digest-scrollkeeper-0.2-r4 @@ -0,0 +1 @@ +MD5 a10cb1fae040525e50b1b05dc06dc9a7 scrollkeeper-0.2.tar.gz 308061 diff --git a/app-text/scrollkeeper/files/scrollkeeper-0.3.10-gentoo.diff b/app-text/scrollkeeper/files/scrollkeeper-0.3.10-gentoo.diff new file mode 100644 index 000000000000..8d35ca35792c --- /dev/null +++ b/app-text/scrollkeeper/files/scrollkeeper-0.3.10-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.2-r4.ebuild b/app-text/scrollkeeper/scrollkeeper-0.2-r4.ebuild new file mode 100644 index 000000000000..fd61b4e05e0a --- /dev/null +++ b/app-text/scrollkeeper/scrollkeeper-0.2-r4.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper/scrollkeeper-0.2-r4.ebuild,v 1.4 2002/07/10 23:53:18 seemant Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="A cataloging system for documentation on open systems" +SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.gz" +HOMEPAGE="http://www.gnome.org/" +SLOT="0" + +RDEPEND=">=dev-libs/libxml-1.8.11 + >=sys-libs/zlib-1.1.3" + +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_compile() { + local myconf="" + use nls || myconf="${myconf} --disable-nls" + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --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 COPYING* ChangeLog README NEWS + einfo ">>> Fixing symlinks... " + cd ${D}/usr/share/scrollkeeper/Templates + for a in $( ls -l | grep "lrwxrwxrwx" | tr " " "*" ); do + ORIG=`echo $a | tr "*" " " | awk '{print $9}'` + DEST=`echo $a | tr "*" " " | awk -F "/" '{print $12}'` + rm $ORIG + ln -s $DEST $ORIG + done +} + +pkg_postinst() { + echo ">>> Updating Scrollkeeper database..." + scrollkeeper-update >/dev/null 2>&1 +} + +pkg_postrm() { + echo ">>> Scrollkeeper ${PV} unmerged, if you removed the package" + echo " you might want to clean up /var/lib/scrollkeeper." +} + |