summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2002-08-01 22:27:33 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2002-08-01 22:27:33 +0000
commit0327564eb4493b06ccbc7ad966aa91e74b8056a4 (patch)
treef2cd558fd067140227b45ad59068b4ca35708c49
parentAdded ppc to KEYWORDS. (diff)
downloadhistorical-0327564eb4493b06ccbc7ad966aa91e74b8056a4.tar.gz
historical-0327564eb4493b06ccbc7ad966aa91e74b8056a4.tar.bz2
historical-0327564eb4493b06ccbc7ad966aa91e74b8056a4.zip
Initial import
-rw-r--r--app-text/djvu/ChangeLog8
-rw-r--r--app-text/djvu/djvu-3.5.7.ebuild61
-rw-r--r--app-text/djvu/files/digest-djvu-3.5.71
3 files changed, 70 insertions, 0 deletions
diff --git a/app-text/djvu/ChangeLog b/app-text/djvu/ChangeLog
new file mode 100644
index 000000000000..acdcdd9dd165
--- /dev/null
+++ b/app-text/djvu/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-text/djvu
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/ChangeLog,v 1.1 2002/08/01 22:27:33 aliz Exp $
+
+*djvu-3.5.7 (02 Aug 2002)
+
+ 02 Aug 2002; Daniel Ahlberg <aliz@gentoo.org> djvu-3.5.7.ebuild:
+ Initial import. Ebuild submitted by Christian V. J. Brüssow <cvjb@epost.de>.
diff --git a/app-text/djvu/djvu-3.5.7.ebuild b/app-text/djvu/djvu-3.5.7.ebuild
new file mode 100644
index 000000000000..5cc569f12c65
--- /dev/null
+++ b/app-text/djvu/djvu-3.5.7.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/djvu-3.5.7.ebuild,v 1.1 2002/08/01 22:27:33 aliz Exp $
+
+MY_P="${PN}libre-${PV}"
+DESCRIPTION="A web-centric format and software platform for distributing documents and images."
+HOMEPAGE="http://djvu.sourceforge.net"
+SRC_URI="http://belnet.dl.sourceforge.net/sourceforge/djvu/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+# Build-time dependencies, such as
+DEPEND=">=qt-3.0.4.20020606-r1
+ >=jpeg-6b-r2"
+
+# Run-time dependencies, same as DEPEND if RDEPEND isn't defined:
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man || die "./configure failed"
+ make depend || die
+ emake || die
+}
+
+src_install() {
+ make \
+ prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info \
+ install || die
+ # Again, verify the Makefiles! We don't want anything falling
+ # outside of ${D}.
+}
+
+pkg_postinst() {
+ # The package installs the browser plugins into
+ # /usr/lib/netscape/plugins, so we need to move them to the
+ # appropriate mozilla directory. when mozilla is installed.
+ if [ -d /usr/lib/mozilla/plugins/ -a \
+ -f /usr/lib/netscape/plugins/nsdejavu.so ]
+ then
+ cp /usr/lib/netscape/plugins/nsdejavu.so /usr/lib/mozilla/plugins
+ fi
+}
+
+pkg_postrm() {
+ # Maybe we must remove the plugin from the mozilla plugins dir.
+ if [ -f /usr/lib/mozilla/plugins/nsdejavu.so ]
+ then
+ rm /usr/lib/mozilla/plugins/nsdejavu.so
+ fi
+}
+
+
diff --git a/app-text/djvu/files/digest-djvu-3.5.7 b/app-text/djvu/files/digest-djvu-3.5.7
new file mode 100644
index 000000000000..746eae02a3e7
--- /dev/null
+++ b/app-text/djvu/files/digest-djvu-3.5.7
@@ -0,0 +1 @@
+MD5 5c0fb56408ed06cc49e12118db2f6ed7 djvulibre-3.5.7.tar.gz 1281888