aboutsummaryrefslogtreecommitdiff
path: root/development/cgdb
diff options
context:
space:
mode:
authorD Woodfall <dave@slackbuilds.org>2023-05-08 22:51:38 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-13 19:27:06 +0700
commit5a740377684e19a4bee20f609e10121fb167aacc (patch)
tree78198b7b64532781758acb3282850c5a37b2705c /development/cgdb
parentb221ae6675095867992c334a25d08ff14ea74d93 (diff)
development/cgdb: Updated for version 0.8.0. New maintainer.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/cgdb')
-rw-r--r--development/cgdb/cgdb.SlackBuild31
-rw-r--r--development/cgdb/cgdb.info14
-rw-r--r--development/cgdb/slack-desc2
3 files changed, 22 insertions, 25 deletions
diff --git a/development/cgdb/cgdb.SlackBuild b/development/cgdb/cgdb.SlackBuild
index 916dcc6bea5eb..edfb85568e56d 100644
--- a/development/cgdb/cgdb.SlackBuild
+++ b/development/cgdb/cgdb.SlackBuild
@@ -2,6 +2,8 @@
# Slackware build script for cgdb
+# 2023-05-08 updated for 0.8.0 by D Woodfall <dave@slackbuilds.org>
+
# Copyright 2009-2010 Sean Donner (sean.donner@gmail.com)
# All rights reserved.
#
@@ -25,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=cgdb
-VERSION=${VERSION:-0.6.6}
+VERSION=${VERSION:-0.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -72,42 +74,35 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-chown root:root . -R
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--infodir=/usr/info \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -exec file {} + | sed -n '/ELF.*executable\|shared object/s/:.*$//p' | \
- xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG -exec file {} + | sed -n '/current ar archive/s/:.*$//p' | \
- xargs strip --strip-debug 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} +
-find $PKG/usr/man -type l -print0 | while IFS= read -r -d $'\0' link; do
- ln -s $(readlink "$link").gz "${link}.gz"
- rm "$link"
-done
+make install-strip DESTDIR=$PKG
+# No man page, only an info and a text file
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING NEWS $PKG/usr/share/cgdb/cgdb.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/$PRGNAM.pdf > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.pdf
+
+rm -rf $PKG/usr/share
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-find . -perm /111 -exec chmod 755 {} + -o -perm /444 ! -perm /111 -exec chmod 644 {} +
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cgdb/cgdb.info b/development/cgdb/cgdb.info
index ce2dce16c6896..c55f31be557aa 100644
--- a/development/cgdb/cgdb.info
+++ b/development/cgdb/cgdb.info
@@ -1,10 +1,12 @@
PRGNAM="cgdb"
-VERSION="0.6.6"
-HOMEPAGE="http://cgdb.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/cgdb/cgdb-0.6.6.tar.gz"
-MD5SUM="394b542b495755ab8392b7e88dace744"
+VERSION="0.8.0"
+HOMEPAGE="https://cgdb.github.io"
+DOWNLOAD="https://cgdb.me/files/cgdb-0.8.0.tar.gz \
+ https://cgdb.github.io/docs/cgdb.pdf"
+MD5SUM="180c1c7100bd9591b0d29e46896b5092 \
+ e8cc8a8e40c32626ef1fd4c34f7770f5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Sean Donner"
-EMAIL="sean.donner@gmail.com"
+MAINTAINER="D Woodfall"
+EMAIL="dave@slackbuilds.org"
diff --git a/development/cgdb/slack-desc b/development/cgdb/slack-desc
index e9fc88a5e5588..ffa8c1508db26 100644
--- a/development/cgdb/slack-desc
+++ b/development/cgdb/slack-desc
@@ -12,7 +12,7 @@ cgdb: CGDB is a curses (terminal-based) interface to the GNU Debugger (GDB).
cgdb: Its goal is to be lightweight and responsive; not encumbered with
cgdb: unnecessary features.
cgdb:
-cgdb: Homepage: http://cgdb.sourceforge.net
+cgdb: Homepage: https://cgdb.github.io
cgdb:
cgdb:
cgdb: