summaryrefslogtreecommitdiff
path: root/development/kicad/kicad.SlackBuild
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2012-03-29 23:40:08 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-03-29 23:40:08 -0400
commit891b5b07ae71aaf903ca493dd7573f77a6e738a8 (patch)
tree60ea412cdb802b5a21bc02a20ffa3231acce658f /development/kicad/kicad.SlackBuild
parente78f4b490ef4be411301378c1df5c31754e8bce3 (diff)
downloadslackbuilds-891b5b07ae71aaf903ca493dd7573f77a6e738a8.tar.gz
development/kicad: Updated for version bzr_20120205.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/kicad/kicad.SlackBuild')
-rw-r--r--development/kicad/kicad.SlackBuild30
1 files changed, 24 insertions, 6 deletions
diff --git a/development/kicad/kicad.SlackBuild b/development/kicad/kicad.SlackBuild
index 8f83185d75..55122ae7f0 100644
--- a/development/kicad/kicad.SlackBuild
+++ b/development/kicad/kicad.SlackBuild
@@ -3,11 +3,30 @@
# Slackware build script for kicad
# Open-Source EDA Suite
-# Written by Niels Horn <niels.horn@gmail.com>
-# Revision date: 2011/04/01
+# Copyright 2010-2012 Niels Horn, Rio de Janeiro, RJ, Brazil
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# Revision date: 2012/02/22
PRGNAM=kicad
-VERSION=${VERSION:-bzr_20110330}
+VERSION=${VERSION:-bzr_20120205}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,10 +85,9 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DKICAD_DOCS=/usr/doc/$PRGNAM-$VERSION \
-DKICAD_PLUGINS=/usr/lib${LIBDIRSUFFIX}/$PRGNAM/plugins \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DMAN_INSTALL_DIR=/usr/man \
+ -DKICAD_STABLE_VERSION=ON \
-DCMAKE_BUILD_TYPE=Release ..
- make
+ make VERBOSE=1
make install DESTDIR=$PKG
cd ..