summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-embedded/yapide')
-rw-r--r--dev-embedded/yapide/ChangeLog12
-rw-r--r--dev-embedded/yapide/Manifest3
-rw-r--r--dev-embedded/yapide/files/digest-yapide-0.11
-rw-r--r--dev-embedded/yapide/files/yapide-0.1-configure.patch11
-rw-r--r--dev-embedded/yapide/files/yapide-0.1-nocflags.patch37
-rw-r--r--dev-embedded/yapide/metadata.xml12
-rw-r--r--dev-embedded/yapide/yapide-0.1.ebuild60
7 files changed, 136 insertions, 0 deletions
diff --git a/dev-embedded/yapide/ChangeLog b/dev-embedded/yapide/ChangeLog
new file mode 100644
index 000000000000..9435185ebdaf
--- /dev/null
+++ b/dev-embedded/yapide/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for dev-embedded/yapide
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/yapide/ChangeLog,v 1.1 2004/08/05 11:30:03 dragonheart Exp $
+
+*yapide-0.1 (05 Aug 2004)
+
+ 05 Aug 2004; Daniel Black <dragonheart@gentoo.org> +metadata.xml,
+ +files/yapide-0.1-configure.patch, +files/yapide-0.1-nocflags.patch,
+ +yapide-0.1.ebuild:
+ Initial import. Thanks to Laurence Withers <lwithers@users.sf.net> in bug
+ #59494 for the ebuild.
+
diff --git a/dev-embedded/yapide/Manifest b/dev-embedded/yapide/Manifest
new file mode 100644
index 000000000000..262873d8a74e
--- /dev/null
+++ b/dev-embedded/yapide/Manifest
@@ -0,0 +1,3 @@
+MD5 84f7ed3bf63afa82373540c84c7d4a11 yapide-0.1.ebuild 726
+MD5 1582e350c89120cffd8fe87f88a451c0 files/yapide-0.1-configure.patch 449
+MD5 88360cbedb701128f2d7f23863a5b0c7 files/digest-yapide-0.1 59
diff --git a/dev-embedded/yapide/files/digest-yapide-0.1 b/dev-embedded/yapide/files/digest-yapide-0.1
new file mode 100644
index 000000000000..47348f21f210
--- /dev/null
+++ b/dev-embedded/yapide/files/digest-yapide-0.1
@@ -0,0 +1 @@
+MD5 8cfc7aad5a62121c8f2aea485f0519d8 yapide-0.1.tgz 233064
diff --git a/dev-embedded/yapide/files/yapide-0.1-configure.patch b/dev-embedded/yapide/files/yapide-0.1-configure.patch
new file mode 100644
index 000000000000..86628b5bba61
--- /dev/null
+++ b/dev-embedded/yapide/files/yapide-0.1-configure.patch
@@ -0,0 +1,11 @@
+--- configure.old 2004-08-05 08:56:33.463133912 +0100
++++ configure 2004-08-05 08:56:41.082975520 +0100
+@@ -55,7 +55,7 @@
+ echo "#include <stdio.h>" >> qttest.cpp
+ echo "int main(int argc, char **argv) { fprintf( stderr, \"Found QT Version %s: \", QT_VERSION_STR );" >> qttest.cpp
+ echo "if (QT_VERSION >= 300) return 0; else return -1; }" >> qttest.cpp
+-gcc -I$QTDIR/include qttest.cpp
++g++ -I$QTDIR/include qttest.cpp
+ if ./a.out
+ then
+ echo "OK"
diff --git a/dev-embedded/yapide/files/yapide-0.1-nocflags.patch b/dev-embedded/yapide/files/yapide-0.1-nocflags.patch
new file mode 100644
index 000000000000..9857d937bb10
--- /dev/null
+++ b/dev-embedded/yapide/files/yapide-0.1-nocflags.patch
@@ -0,0 +1,37 @@
+--- src/src.pro.orig 2004-08-05 18:07:02.315294152 +0930
++++ src/src.pro 2004-08-05 18:07:34.970329832 +0930
+@@ -6,13 +6,6 @@
+ DEPENDPATH = .
+
+ release {
+- contains( QMAKE_CC, gcc ) {
+- message( "Adding release optimizations for gcc" )
+- QMAKE_CFLAGS += -finline-functions -fexpensive-optimizations \
+- -fstrict-aliasing -fomit-frame-pointer
+- QMAKE_CXXFLAGS += -finline-functions -fexpensive-optimizations \
+- -fstrict-aliasing -fomit-frame-pointer
+- }
+ TARGET = yapide
+ }
+
+@@ -21,20 +14,6 @@
+ TARGET = yapidedebug
+ }
+
+-CPU_YAPIDE = $$system( echo $CPU )
+-
+-contains( CPU_YAPIDE, i686 ) {
+- message( "Configuring for Pentium Pro" )
+- QMAKE_CFLAGS += -march=pentiumpro
+- QMAKE_CXXFLAGS += -march=pentiumpro
+-}
+-
+-contains( CPU_YAPIDE, Athlon ) {
+- message( "Configuring for Athlon" )
+- QMAKE_CFLAGS += -march=athlon
+- QMAKE_CXXFLAGS += -march=athlon
+-}
+-
+ HEADERS = \
+ xpm/animation.xpm \
+ xpm/breakpoint.xpm \
diff --git a/dev-embedded/yapide/metadata.xml b/dev-embedded/yapide/metadata.xml
new file mode 100644
index 000000000000..b9fc2b9c6f11
--- /dev/null
+++ b/dev-embedded/yapide/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>dragonheart@gentoo.org</email>
+ <name>Daniel Black</name>
+ <description>A user ebuild that I felt obliged to include. Please take over if you want
+it</description>
+</maintainer>
+<longdescription></longdescription>
+</pkgmetadata>
diff --git a/dev-embedded/yapide/yapide-0.1.ebuild b/dev-embedded/yapide/yapide-0.1.ebuild
new file mode 100644
index 000000000000..4b4e6cf7a798
--- /dev/null
+++ b/dev-embedded/yapide/yapide-0.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/yapide/yapide-0.1.ebuild,v 1.1 2004/08/05 11:30:03 dragonheart Exp $
+
+inherit eutils
+
+DESCRIPTION="Yet Another PIC IDE: a Microchip PIC simulator"
+HOMEPAGE="http://www.mtoussaint.de/yapide.html"
+SRC_URI="http://www.mtoussaint.de/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+RDEPEND="virtual/libc
+ >=x11-libs/qt-3.0.0
+ dev-embedded/gputils"
+
+DEPEND="${RDEPEND}
+ sys-devel/gcc
+ >=sys-apps/sed-4"
+
+S="${WORKDIR}/YaPIDE-${PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-0.1-configure.patch
+ epatch ${FILESDIR}/${PN}-0.1-nocflags.patch
+}
+
+
+
+src_compile() {
+
+ REALHOME="${HOME}"
+ mkdir -p ${T}/fakehome/.kde
+ mkdir -p ${T}/fakehome/.qt
+ export HOME="${T}/fakehome"
+ addwrite "${QTDIR}/etc/settings"
+
+ # things that should access the real homedir
+ [ -d "${REALHOME}/.ccache" ] && ln -sf "${REALHOME}/.ccache" "${HOME}/"
+
+ econf || die
+ emake src/Makefile || die
+ sed -i -e "s:^CFLAGS.*-D_REENTRANT:CFLAGS = ${CFLAGS} -D_REENTRANT:" \
+ -e "s:^CXXFLAGS.*-D_REENTRANT:CXXFLAGS = ${CXXFLAGS} -D_REENTRANT:" \
+ src/Makefile
+ emake || die
+}
+
+
+
+src_install() {
+ dobin bin/yapide
+ dodoc AUTHORS COPYING KNOWNBUGS README
+}
+