mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
desktop/dbgl-legacy: New maintainer, builds from source.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
13a0d3aa14
commit
0fb4f4c81a
3 changed files with 26 additions and 14 deletions
|
@ -11,3 +11,6 @@ Notes:
|
||||||
2. this legacy version is the last one that supports 32-bits
|
2. this legacy version is the last one that supports 32-bits
|
||||||
architecture, if you don't need that you may install package 'dbgl'
|
architecture, if you don't need that you may install package 'dbgl'
|
||||||
instead
|
instead
|
||||||
|
|
||||||
|
This packages builds only with zulu-openjdk8, maybe openjdk8.
|
||||||
|
It runs with zulu-openjdk7, but not zulu-openjdk11 or zulu-openjdk17.
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
# Slackware build script for dbgl-legacy
|
# Slackware build script for dbgl-legacy
|
||||||
|
|
||||||
# Copyright 2020 Leonardo Citrolo, Italy
|
# Copyright 2020 Leonardo Citrolo, Italy
|
||||||
|
# Copyright 2023 Yth | Pont-en-Royans, France | yth@ythogtha.org
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -26,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=dbgl-legacy
|
PRGNAM=dbgl-legacy
|
||||||
VERSION=${VERSION:-0.83}
|
VERSION=${VERSION:-0.83}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
|
||||||
|
@ -50,12 +51,6 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
case "$ARCH" in
|
|
||||||
i?86) ;;
|
|
||||||
x86_64) ;;
|
|
||||||
*) echo "$ARCH architecture is not supported"; exit 1 ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
|
@ -64,7 +59,21 @@ cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$VERSION
|
||||||
mkdir $PRGNAM-$VERSION
|
mkdir $PRGNAM-$VERSION
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$VERSION
|
||||||
tar xvf $CWD/dbgl${VERSION//./}_generic.tar.gz
|
# Building from source creates the binary package.tar.gz
|
||||||
|
unzip $CWD/src${VERSION//./}.zip
|
||||||
|
chown -R root:root .
|
||||||
|
find -L . \
|
||||||
|
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||||
|
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||||
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
|
ant
|
||||||
|
|
||||||
|
# Converting the package.tar.gz into a Slackware package
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
tar xvf ../dist/dbgl${VERSION//./}.tar.gz
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find -L . \
|
find -L . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="dbgl-legacy"
|
PRGNAM="dbgl-legacy"
|
||||||
VERSION="0.83"
|
VERSION="0.83"
|
||||||
HOMEPAGE="http://members.quicknet.nl/blankendaalr/dbgl/"
|
HOMEPAGE="https://dbgl.org/"
|
||||||
DOWNLOAD="https://slackware.uk/~urchlay/src/dbgl083_generic.tar.gz"
|
DOWNLOAD="https://dbgl.org/download/src083.zip"
|
||||||
MD5SUM="89f609cf415f8f64de98407a2084629c"
|
MD5SUM="a0874fe7a8ccc411abef243b89b41749"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="dosbox zulu-openjdk8"
|
REQUIRES="dosbox apache-ant zulu-openjdk8"
|
||||||
MAINTAINER="Leo C."
|
MAINTAINER="Yth - Arnaud"
|
||||||
EMAIL="leoc@gmx.com"
|
EMAIL="yth@ythogtha.org"
|
||||||
|
|
Loading…
Reference in a new issue