summaryrefslogtreecommitdiffstats
path: root/system/makepp
diff options
context:
space:
mode:
author B. Watson2021-08-25 03:37:02 +0200
committer Willy Sudiarto Raharjo2021-10-12 19:51:39 +0200
commitc0aba663aa018c2146cfced3ae4fa3b46650473c (patch)
tree5ec04ad6a4c08c3caa14e61ed768e348c207b606 /system/makepp
parent02671e8ade033c6466b74f01f4658cbcaef3452c (diff)
downloadslackbuilds-c0aba663aa018c2146cfced3ae4fa3b46650473c.tar.gz
system/makepp: Updated for version 2.0.99.2.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/makepp')
-rw-r--r--system/makepp/makepp.SlackBuild30
-rw-r--r--system/makepp/makepp.info6
2 files changed, 19 insertions, 17 deletions
diff --git a/system/makepp/makepp.SlackBuild b/system/makepp/makepp.SlackBuild
index ff1891ebab..17164b658d 100644
--- a/system/makepp/makepp.SlackBuild
+++ b/system/makepp/makepp.SlackBuild
@@ -6,19 +6,20 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20210824 bkw: update for v2.0.99.2, aka 2.1rc1, because 2.0 won't
+# build on -current and other distros have been shipping 2.1 betas and
+# release candidates for years now.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=makepp
-VERSION=${VERSION:-2.0}
+VERSION=${VERSION:-2.0.99.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -34,32 +35,33 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
+tar xvf $CWD/$PRGNAM-$VERSION.t?z
cd $PRGNAM-$VERSION
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 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# Most of the executables have 2 names each, short and long, e.g. mpp
# and makepp. install.pl installs them as hardlinks, which is kinda weird
# for a Slack package. Not sure they'd cause any problems, but I *know*
# symlinks work correctly, so:
-sed -i 's,^ *link\>,symlink,' install.pl
+sed -i \
+ -e 's,^ *link\>,symlink,' \
+ install.pl
# configure/make is just a wrapper around install.pl. Skip the tests,
# because they spam /usr/include and don't even clean up after themselves.
+PERL5LIB="$( pwd )" \
perl install.pl \
/usr/bin \
/usr/share/$PRGNAM \
/usr/man \
- /usr/doc/$PRGNAM-$VERSION \
+ /usr/doc/$PRGNAM-$VERSION/html \
none \
- $PKG/usr
+ $PKG
-gzip -9 $PKG/usr/man/man1/*.1
+# in 2.0.99.2, they're already gzipped.
+#gzip -9 $PKG/usr/man/man1/*.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/system/makepp/makepp.info b/system/makepp/makepp.info
index 33ddf853c0..6f0fd6370d 100644
--- a/system/makepp/makepp.info
+++ b/system/makepp/makepp.info
@@ -1,8 +1,8 @@
PRGNAM="makepp"
-VERSION="2.0"
+VERSION="2.0.99.2"
HOMEPAGE="http://makepp.sourceforge.net/"
-DOWNLOAD="https://downloads.sourceforge.net/project/makepp/2.0/makepp-2.0.tgz"
-MD5SUM="634d67455bf32fe1f16f65b7e32f4a45"
+DOWNLOAD="https://downloads.sourceforge.net/project/makepp/2.1/makepp-2.0.99.2.txz"
+MD5SUM="62aa55f8a20a4256f7413746724be58a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""