summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
Diffstat (limited to 'development')
-rw-r--r--development/eagle/README13
-rw-r--r--development/eagle/eagle.SlackBuild77
-rw-r--r--development/eagle/eagle.info8
-rw-r--r--development/eagle/slack-desc19
4 files changed, 117 insertions, 0 deletions
diff --git a/development/eagle/README b/development/eagle/README
new file mode 100644
index 0000000000..2993906a48
--- /dev/null
+++ b/development/eagle/README
@@ -0,0 +1,13 @@
+The EAGLE Layout Editor is an easy to use, yet powerful tool for designing
+printed circuit boards (PCBs). The name EAGLE is an acronym, which stands for
+Easily Applicable Graphical Layout Editor. The program consists of three main
+modules (Layout Editor, Schematic Editor, and Autorouter) which are embedded
+in a single user interface.
+
+If EAGLE prompts for a license key the first time it is run, point it toward
+the freeware license file located at /opt/eagle-VERSION/bin/freeware.key, or
+purchase a license to unlock advanced features.
+
+After the key is accepted, you may wish to change the permission of
+/opt/eagle-VERSION/bin/eagle.key so that it is no longer world-writable.
+ chmod 0644 /opt/eagle-VERSION/bin/eagle.key
diff --git a/development/eagle/eagle.SlackBuild b/development/eagle/eagle.SlackBuild
new file mode 100644
index 0000000000..e437da7e09
--- /dev/null
+++ b/development/eagle/eagle.SlackBuild
@@ -0,0 +1,77 @@
+#!/bin/sh
+
+# Slackware build script for eagle (binary repackaging)
+# Written by Kyle Guinn <elyk03@gmail.com>
+
+PRGNAM="eagle"
+VERSION="5.0.0"
+ARCH=i486 # I assume it was compiled for i486+, leave this alone.
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM-$VERSION
+OUTPUT=${OUTPUT:-/tmp}
+
+# Documentation is distributed for both English and German. Due to the size
+# of the documentation, only include one language.
+LANG=${LANG:-"en"}
+if [ "$LANG" = "de" ]; then
+ DOCS="README_de UPDATE_de library_de.txt license_de.txt manual_de.pdf tutorial_de.pdf elektro-tutorial.pdf"
+else
+ DOCS="README_en UPDATE_en library_en.txt license_en.txt manual_en.pdf tutorial_en.pdf"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+sh $CWD/$PRGNAM-lin-$VERSION.run $PKG/opt
+chown -R root:root $PKG
+
+# Create the license key file. EAGLE will write to this the first time it is
+# run. After that, you can change the permissions to 0644 if you wish.
+touch $PKG/opt/$PRGNAM-$VERSION/bin/$PRGNAM.key
+chmod 0666 $PKG/opt/$PRGNAM-$VERSION/bin/$PRGNAM.key
+
+# Some versions of EAGLE have a graphics bug that results in corruption of the
+# displayed window, particularly affecting the display of trees and lists.
+# This is due to a conflict with compositing. The quickest fix is to set an
+# environment variable (XLIB_SKIP_ARGB_VISUALS) before running EAGLE. The fix
+# may not apply to the latest version of EAGLE, but it doesn't hurt to leave
+# it in. See http://www.cadsoft.de/faq.htm#07041701 for details.
+mkdir -p $PKG/usr/bin
+cat > $PKG/usr/bin/$PRGNAM << EOF
+#!/bin/sh
+XLIB_SKIP_ARGB_VISUALS=1
+export XLIB_SKIP_ARGB_VISUALS
+exec /opt/$PRGNAM-$VERSION/bin/$PRGNAM "\$@"
+EOF
+chmod +x $PKG/usr/bin/$PRGNAM
+
+# Move any man pages to the proper location
+mkdir -p $PKG/usr/man/man1
+mv $PKG/opt/$PRGNAM-$VERSION/doc/*.1 $PKG/usr/man/man1
+( cd $PKG/usr/man
+ find . -type f -exec gzip -9 {} \;
+ for i in $(find . -type l); do \
+ ln -s $(readlink $i).gz $i.gz; rm $i; \
+ done
+)
+
+# Move the documentation to the proper location
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+( cd $PKG/opt/$PRGNAM-$VERSION/doc
+ mv $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+ cd ..
+ rm -rf doc
+ ln -s /usr/doc/$PRGNAM-$VERSION doc
+)
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/development/eagle/eagle.info b/development/eagle/eagle.info
new file mode 100644
index 0000000000..fdbb20cb3e
--- /dev/null
+++ b/development/eagle/eagle.info
@@ -0,0 +1,8 @@
+PRGNAM="eagle"
+VERSION="5.0.0"
+HOMEPAGE="http://www.cadsoft.de/"
+DOWNLOAD="ftp://ftp.cadsoft.de/eagle/program/5.0/eagle-lin-5.0.0.run"
+MD5SUM="0a542e7187a0f8654a579e7c771cbb37"
+MAINTAINER="Kyle Guinn"
+EMAIL="elyk03@gmail.com"
+APPROVED="rworkman"
diff --git a/development/eagle/slack-desc b/development/eagle/slack-desc
new file mode 100644
index 0000000000..b59e233625
--- /dev/null
+++ b/development/eagle/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+eagle: EAGLE (schematic capture program)
+eagle:
+eagle: The EAGLE Layout Editor is an easy to use, yet powerful tool
+eagle: for designing printed circuit boards (PCBs). The name EAGLE
+eagle: is an acronym, which stands for Easily Applicable Graphical
+eagle: Layout Editor. The program consists of three main modules
+eagle: (Layout Editor, Schematic Editor, and Autorouter) which are
+eagle: embedded in a single user interface.
+eagle:
+eagle: Homepage: http://www.cadsoft.de/
+eagle: