summaryrefslogtreecommitdiffstats
path: root/development/lepton-eda/lepton-eda.SlackBuild
diff options
context:
space:
mode:
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