aboutsummaryrefslogtreecommitdiff
path: root/sci/electronics/iverilog/iverilog.SlackBuild
diff options
context:
space:
mode:
authorluis <luis@370017ae-e619-0410-ac65-c121f96126d4>2006-12-15 06:08:22 +0000
committerluis <luis@370017ae-e619-0410-ac65-c121f96126d4>2006-12-15 06:08:22 +0000
commitedd2fe21a3f3418948e44fdce0e13ae191bc9060 (patch)
tree9950dc072d68dc1c475263211bc3550f24e41fc4 /sci/electronics/iverilog/iverilog.SlackBuild
parente4161bef574d31763eb89596812eea11924da294 (diff)
downloadslackbuilds-edd2fe21a3f3418948e44fdce0e13ae191bc9060.tar.gz
slackbuilds-edd2fe21a3f3418948e44fdce0e13ae191bc9060.tar.bz2
Pequenas modificacoes e correcoes (SlackBuilds testados e funcionando)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@920 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'sci/electronics/iverilog/iverilog.SlackBuild')
-rwxr-xr-xsci/electronics/iverilog/iverilog.SlackBuild14
1 files changed, 7 insertions, 7 deletions
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