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>
This commit is contained in:
parent
b221ae6675
commit
5a74037768
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue