aboutsummaryrefslogtreecommitdiff
path: root/sci/electronics
diff options
context:
space:
mode:
Diffstat (limited to 'sci/electronics')
-rwxr-xr-xsci/electronics/gtkwave/gtkwave.SlackBuild14
-rwxr-xr-xsci/electronics/iverilog/iverilog.SlackBuild14
-rwxr-xr-xsci/electronics/ivi/ivi.SlackBuild14
3 files changed, 21 insertions, 21 deletions
diff --git a/sci/electronics/gtkwave/gtkwave.SlackBuild b/sci/electronics/gtkwave/gtkwave.SlackBuild
index a46ac20a..8a2d5937 100755
--- a/sci/electronics/gtkwave/gtkwave.SlackBuild
+++ b/sci/electronics/gtkwave/gtkwave.SlackBuild
@@ -25,7 +25,7 @@ SRC_DIR=${SRC_DIR:=$CWD}
TMP=${TMP:=/tmp}
PKG=${PKG:=$TMP/package-$PKG_NAME}
REPOS=${REPOS:=$TMP}
-PREFIX=${PREFIX:=/usr}
+PREFIX=${PREFIX:=/usr/local}
PKG_SRC=$SRC_NAME-$VERSION
# Set system libraries' path and optmization flags based on $ARCH
@@ -51,8 +51,8 @@ ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42
# Clean up any leftovers of previous builds
-rm -rf $PKG_SRC 2>/dev/null
-rm -rf $PKG 2>/dev/null
+rm -rf $PKG_SRC 2> /dev/null
+rm -rf $PKG 2> /dev/null
# Create directories, if necessary
mkdir -p $SRC_DIR || exit $ERROR_MKDIR
@@ -124,13 +124,13 @@ if [ -d $PKG/$PREFIX/info ]; then
fi
# Install documentation and examples
-DOCS="*.TXT examples doc/gtkwave.odt"
+DOCS="*.TXT doc/gtkwave.odt examples"
mkdir -p $PKG/$PREFIX/doc/$PKG_NAME-$VERSION || exit $ERROR_MKDIR
cp -a $DOCS $PKG/$PREFIX/doc/$PKG_NAME-$VERSION
-# Add slack-desc file
+# Add package description (slack-desc)
mkdir -p $PKG/install || exit $ERROR_MKDIR
-cat << EOF > $PKG/install/slack-desc
+cat << EODESC > $PKG/install/slack-desc
# 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 '|'
@@ -150,7 +150,7 @@ gtkwave:
gtkwave:
gtkwave:
gtkwave:
-EOF
+EODESC
# Build the package
cd $PKG
diff --git a/sci/electronics/iverilog/iverilog.SlackBuild b/sci/electronics/iverilog/iverilog.SlackBuild
index 4fc66098..a86de199 100755
--- a/sci/electronics/iverilog/iverilog.SlackBuild
+++ b/sci/electronics/iverilog/iverilog.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
#
-# SlackBuild for Icarus Verilog
+# SlackBuild for iverilog (Icarus Verilog)
# http://www.icarus.com/eda/verilog/
#
# Author: Luis ( luis at riseup d0t net )
@@ -25,7 +25,7 @@ SRC_DIR=${SRC_DIR:=$CWD}
TMP=${TMP:=/tmp}
PKG=${PKG:=$TMP/package-$PKG_NAME}
REPOS=${REPOS:=$TMP}
-PREFIX=${PREFIX:=/usr}
+PREFIX=${PREFIX:=/usr/local}
PKG_SRC=$SRC_NAME-$VERSION
# Set system libraries' path and optmization flags based on $ARCH
@@ -51,8 +51,8 @@ ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42
# Clean up any leftovers of previous builds
-rm -rf $PKG_SRC 2>/dev/null
-rm -rf $PKG 2>/dev/null
+rm -rf $PKG_SRC 2> /dev/null
+rm -rf $PKG 2> /dev/null
# Create directories, if necessary
mkdir -p $SRC_DIR || exit $ERROR_MKDIR
@@ -113,9 +113,9 @@ mkdir -p $PKG/$PREFIX/doc/$PKG_NAME-$VERSION/vvp || exit $ERROR_MKDIR
cp -a COPYING INSTALL *.txt examples $PKG/$PREFIX/doc/$PKG_NAME-$VERSION
cp -a vvp/*.txt vvp/examples $PKG/$PREFIX/doc/$PKG_NAME-$VERSION/vvp
-# Add slack-desc file
+# Add package description (slack-desc)
mkdir -p $PKG/install || exit $ERROR_MKDIR
-cat << EOF > $PKG/install/slack-desc
+cat << EODESC > $PKG/install/slack-desc
# 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 '|'
@@ -135,7 +135,7 @@ iverilog:
iverilog:
iverilog:
iverilog:
-EOF
+EODESC
# Build the package
cd $PKG
diff --git a/sci/electronics/ivi/ivi.SlackBuild b/sci/electronics/ivi/ivi.SlackBuild
index 7d2c3bab..d517cd46 100755
--- a/sci/electronics/ivi/ivi.SlackBuild
+++ b/sci/electronics/ivi/ivi.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
#
-# SlackBuild for IVI-0.4
+# SlackBuild for IVI (Icarus Verilog Interactive) v0.4-pre-20031121
# http://sourceforge.net/projects/ivi
#
# Author: Luis ( luis at riseup d0t net )
@@ -25,7 +25,7 @@ SRC_DIR=${SRC_DIR:=$CWD}
TMP=${TMP:=/tmp}
PKG=${PKG:=$TMP/package-$PKG_NAME}
REPOS=${REPOS:=$TMP}
-PREFIX=${PREFIX:=/usr}
+PREFIX=${PREFIX:=/usr/local}
PKG_SRC=$SRC_NAME-0.4-pre-20031121
# Set system libraries' path and optmization flags based on $ARCH
@@ -51,8 +51,8 @@ ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42
# Clean up any leftovers of previous builds
-rm -rf $PKG_SRC 2>/dev/null
-rm -rf $PKG 2>/dev/null
+rm -rf $PKG_SRC 2> /dev/null
+rm -rf $PKG 2> /dev/null
# Create directories, if necessary
mkdir -p $SRC_DIR || exit $ERROR_MKDIR
@@ -121,9 +121,9 @@ cp -a $DOCS $PKG/$PREFIX/doc/$PKG_NAME-$VERSION
mv $PKG/$PREFIX/{examples,doc/getting_started,doc/ivi_commands} \
$PKG/$PREFIX/doc/$PKG_NAME-$VERSION
-# Add slack-desc file
+# Add package description (slack-desc)
mkdir -p $PKG/install || exit $ERROR_MKDIR
-cat << EOF > $PKG/install/slack-desc
+cat << EODESC > $PKG/install/slack-desc
# 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 '|'
@@ -143,7 +143,7 @@ ivi:
ivi:
ivi:
ivi:
-EOF
+EODESC
# Build the package
cd $PKG