summaryrefslogtreecommitdiffstats
path: root/development/lepton-eda
diff options
context:
space:
mode:
Diffstat (limited to 'development/lepton-eda')
-rw-r--r--development/lepton-eda/README18
-rw-r--r--development/lepton-eda/doinst.sh5
-rw-r--r--development/lepton-eda/lepton-eda.SlackBuild30
-rw-r--r--development/lepton-eda/lepton-eda.info8
-rw-r--r--development/lepton-eda/slack-desc12
5 files changed, 39 insertions, 34 deletions
diff --git a/development/lepton-eda/README b/development/lepton-eda/README
index a726edc508..136179afea 100644
--- a/development/lepton-eda/README
+++ b/development/lepton-eda/README
@@ -1,12 +1,10 @@
Lepton EDA (Lepton Electronic Design Automation)
-The Lepton EDA suite provides schematic capture, netlisting, bill
-of materials generation, and many other features. It was forked
-from the gEDA/gaf suite in late 2016.
-
-The file format for schematics remains the same, and Lepton EDA
-can be used as a drop-in replacement for geda-gaf, though parallel
-installation is also supported (all programs have been renamed).
-
-Many bugs have been fixed and new features added. It's in active
-development and well supported.
+Lepton EDA is a suite of free software tools for designing
+electronics. It provides schematic capture, netlisting into
+over 30 netlist formats, and many other features.
+It was forked from the gEDA/gaf suite in late 2016 by most
+of its active developers at that time.
+It's backward compatible with its predecessor and supports
+the same file format for symbols and schematics.
+It's in active development and well supported.
diff --git a/development/lepton-eda/doinst.sh b/development/lepton-eda/doinst.sh
index 0fb9c8b686..e5526fb670 100644
--- a/development/lepton-eda/doinst.sh
+++ b/development/lepton-eda/doinst.sh
@@ -12,3 +12,8 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
fi
fi
+if [ -x /usr/bin/install-info ]; then
+ chroot . /usr/bin/install-info --info-dir=/usr/info /usr/info/lepton-manual.info.gz 2> /dev/null
+ chroot . /usr/bin/install-info --info-dir=/usr/info /usr/info/lepton-scheme.info.gz 2> /dev/null
+fi
+
diff --git a/development/lepton-eda/lepton-eda.SlackBuild b/development/lepton-eda/lepton-eda.SlackBuild
index adb7a22f89..d738b84a4d 100644
--- a/development/lepton-eda/lepton-eda.SlackBuild
+++ b/development/lepton-eda/lepton-eda.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lepton-eda
-# Copyright 2019 dmn <graahnul.grom@gmail.com>, Russia
+# Copyright 2019-2022 dmn <graahnul.grom@gmail.com>, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lepton-eda
-VERSION=${VERSION:-1.9.9}
+VERSION=${VERSION:-1.9.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -78,21 +85,16 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
--disable-update-xdg-database \
--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
+ --build=$ARCH-slackware-linux \
+ --enable-guild
make
make install DESTDIR=$PKG
-# remove *.la files:
-#
-rm -vf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -111,4 +113,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/lepton-eda/lepton-eda.info b/development/lepton-eda/lepton-eda.info
index c5d352a1f8..45d5c7ef78 100644
--- a/development/lepton-eda/lepton-eda.info
+++ b/development/lepton-eda/lepton-eda.info
@@ -1,10 +1,10 @@
PRGNAM="lepton-eda"
-VERSION="1.9.9"
+VERSION="1.9.18"
HOMEPAGE="https://github.com/lepton-eda/lepton-eda"
-DOWNLOAD="https://github.com/lepton-eda/lepton-eda/releases/download/1.9.9-20191003/lepton-eda-1.9.9.tar.gz"
-MD5SUM="0f3dd85a7bae65e77f94f0591123b192"
+DOWNLOAD="https://github.com/lepton-eda/lepton-eda/releases/download/1.9.18-20220529/lepton-eda-1.9.18.tar.gz"
+MD5SUM="9c7d13426b5271f8b3e3862b35f3c602"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="gtkextra"
MAINTAINER="dmn"
EMAIL="graahnul.grom@gmail.com"
diff --git a/development/lepton-eda/slack-desc b/development/lepton-eda/slack-desc
index cf8d11f645..fd2dc281fe 100644
--- a/development/lepton-eda/slack-desc
+++ b/development/lepton-eda/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
lepton-eda: lepton-eda (Lepton Electronic Design Automation)
lepton-eda:
-lepton-eda: The Lepton EDA suite provides schematic capture, netlisting, bill
-lepton-eda: of materials generation, and many other features. It was forked
-lepton-eda: from the gEDA/gaf suite in late 2016. It's in active development
-lepton-eda: and well supported.
+lepton-eda: Lepton EDA is a suite of free software tools for designing
+lepton-eda: electronics. It provides schematic capture, netlisting into over 30
+lepton-eda: netlist formats, and many other features. It was forked from the
+lepton-eda: gEDA/gaf suite in late 2016 by most of its active developers at that
+lepton-eda: time. It's backward compatible with its predecessor and supports the
+lepton-eda: same file format for symbols and schematics.
lepton-eda:
lepton-eda: Homepage: https://github.com/lepton-eda/lepton-eda
lepton-eda:
-lepton-eda:
-lepton-eda: