summaryrefslogtreecommitdiff
path: root/development/lepton-eda/lepton-eda.SlackBuild
diff options
context:
space:
mode:
authordmn <graahnul.grom@gmail.com>2020-03-28 11:44:15 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-03-28 11:44:15 +0700
commit07205918d4fbf67c8df630ac2c18ae43cb41529e (patch)
treefd2a3e43fe01b01f006e81f8f43d39c2b0309388 /development/lepton-eda/lepton-eda.SlackBuild
parent96301f73951324f584fc88c79d691605bc8b3dc7 (diff)
downloadslackbuilds-07205918d4fbf67c8df630ac2c18ae43cb41529e.tar.gz
development/lepton-eda: Updated for version 1.9.10.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/lepton-eda/lepton-eda.SlackBuild')
-rw-r--r--development/lepton-eda/lepton-eda.SlackBuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/development/lepton-eda/lepton-eda.SlackBuild b/development/lepton-eda/lepton-eda.SlackBuild
index adb7a22f89..f95612fd9e 100644
--- a/development/lepton-eda/lepton-eda.SlackBuild
+++ b/development/lepton-eda/lepton-eda.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for lepton-eda
-# Copyright 2019 dmn <graahnul.grom@gmail.com>, Russia
+# Copyright 2019-2020 dmn <graahnul.grom@gmail.com>, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=lepton-eda
-VERSION=${VERSION:-1.9.9}
+VERSION=${VERSION:-1.9.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,6 +69,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# apply patches:
+#
+for p in $CWD/patches/*
+do
+ patch --verbose -p1 < $p
+done
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -82,11 +89,6 @@ CXXFLAGS="$SLKCFLAGS" \
--infodir=/usr/info \
--build=$ARCH-slackware-linux
-# gschemdoc.scm file must be regenerated by make to substitute
-# the @docdir@ (set by the --docdir configure option):
-#
-rm -vf schematic/scheme/gschem/gschemdoc.scm
-
make
make install DESTDIR=$PKG