summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2001-09-13 04:02:15 +0000
committerDonny Davies <woodchip@gentoo.org>2001-09-13 04:02:15 +0000
commit67789e1bdf43716a6891540968fbb58a8f212db7 (patch)
tree7588917b5ef92e6e9f18093fd27bbe4773af5916 /app-misc
parentbootstrap fix for USE (diff)
downloadgentoo-2-67789e1bdf43716a6891540968fbb58a8f212db7.tar.gz
gentoo-2-67789e1bdf43716a6891540968fbb58a8f212db7.tar.bz2
gentoo-2-67789e1bdf43716a6891540968fbb58a8f212db7.zip
A pretty cool astrology program.
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/kstars/files/destdir-icons.diff34
-rw-r--r--app-misc/kstars/files/digest-kstars-0.62
-rw-r--r--app-misc/kstars/kstars-0.6.ebuild33
3 files changed, 69 insertions, 0 deletions
diff --git a/app-misc/kstars/files/destdir-icons.diff b/app-misc/kstars/files/destdir-icons.diff
new file mode 100644
index 000000000000..5ebaca2d5a3b
--- /dev/null
+++ b/app-misc/kstars/files/destdir-icons.diff
@@ -0,0 +1,34 @@
+--- kstars/data/Makefile.orig Wed Sep 12 22:01:53 2001
++++ kstars/data/Makefile Wed Sep 12 22:36:16 2001
+@@ -367,7 +367,7 @@
+ $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps/
+ #>- $(INSTALL_DATA) $(srcdir)/hi32-app-kstars.png $(kde_icondir)/hicolor/32x32/apps/kstars.png
+ #>+ 1
+- $(INSTALL_DATA) $(srcdir)/hi32-app-kstars.png $(kde_icondir)/hicolor/32x32/apps/kstars.png $(DESTDIR)
++ $(INSTALL_DATA) $(srcdir)/hi32-app-kstars.png $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps/kstars.png
+ #>- $(mkinstalldirs) $(kde_icondir)/hicolor/48x48/apps/
+ #>+ 1
+ $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/hicolor/48x48/apps/
+@@ -379,19 +379,19 @@
+ $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/locolor/16x16/apps/
+ #>- $(INSTALL_DATA) $(srcdir)/lo16-app-kstars.png $(kde_icondir)/locolor/16x16/apps/kstars.png
+ #>+ 1
+- $(INSTALL_DATA) $(srcdir)/lo16-app-kstars.png $(kde_icondir)/locolor/16x16/apps/kstars.png $(DESTDIR)
++ $(INSTALL_DATA) $(srcdir)/lo16-app-kstars.png $(DESTDIR)$(kde_icondir)/locolor/16x16/apps/kstars.png
+ #>- $(mkinstalldirs) $(kde_icondir)/locolor/32x32/apps/
+ #>+ 1
+ $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/locolor/32x32/apps/
+ #>- $(INSTALL_DATA) $(srcdir)/lo32-app-kstars.png $(kde_icondir)/locolor/32x32/apps/kstars.png
+ #>+ 1
+- $(INSTALL_DATA) $(srcdir)/lo32-app-kstars.png $(kde_icondir)/locolor/32x32/apps/kstars.png $(DESTDIR)
++ $(INSTALL_DATA) $(srcdir)/lo32-app-kstars.png $(DESTDIR)$(kde_icondir)/locolor/32x32/apps/kstars.png
+ #>- $(mkinstalldirs) $(kde_icondir)/locolor/48x48/apps/
+ #>+ 1
+ $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/locolor/48x48/apps/
+ #>- $(INSTALL_DATA) $(srcdir)/lo48-app-kstars.png $(kde_icondir)/locolor/48x48/apps/kstars.png
+ #>+ 1
+- $(INSTALL_DATA) $(srcdir)/lo48-app-kstars.png $(kde_icondir)/locolor/48x48/apps/kstars.png $(DESTDIR)
++ $(INSTALL_DATA) $(srcdir)/lo48-app-kstars.png $(DESTDIR)$(kde_icondir)/locolor/48x48/apps/kstars.png
+ #>- $(mkinstalldirs) $(kde_datadir)/kstars/
+ #>+ 1
+ $(mkinstalldirs) $(DESTDIR)$(kde_datadir)/kstars/
diff --git a/app-misc/kstars/files/digest-kstars-0.6 b/app-misc/kstars/files/digest-kstars-0.6
new file mode 100644
index 000000000000..7386908f0279
--- /dev/null
+++ b/app-misc/kstars/files/digest-kstars-0.6
@@ -0,0 +1,2 @@
+MD5 67a29b76d24cb394aff9fd8a7f68f34e kde-admin-acinclude.patch
+MD5 416b232ab5ed059fdd38ba14422f20fb kstars-0.6.tar.gz
diff --git a/app-misc/kstars/kstars-0.6.ebuild b/app-misc/kstars/kstars-0.6.ebuild
new file mode 100644
index 000000000000..00fbe0ce2779
--- /dev/null
+++ b/app-misc/kstars/kstars-0.6.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Donny Davies <woodchip@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/app-misc/kstars/kstars-0.6.ebuild,v 1.1 2001/09/13 04:02:15 woodchip Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="A desktop planetarium for KDE2"
+HOMEPAGE="http://kstars.sourceforge.net"
+SRC_URI="http://prdownloads.sourceforge.net/${PN}/${P}.tar.gz
+ http://www.research.att.com/~leonb/objprelink/kde-admin-acinclude.patch"
+
+DEPEND=">=kde-base/kdelibs-2.1
+ objprelink? ( dev-util/objprelink )"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd ${S}
+ use objprelink && patch -p0 < ${DISTDIR}/kde-admin-acinclude.patch
+}
+
+src_compile() {
+ local myconf
+ use qtmt && myconf="${myconf} --enable-mt"
+ ./configure --prefix=${KDEDIR} --host=${CHOST} $myconf || die
+ make || die
+}
+
+src_install () {
+ # ugh.
+ patch -p0 < ${FILESDIR}/destdir-icons.diff
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS COPYING ChangeLog README TODO
+}