summaryrefslogtreecommitdiffstats
path: root/office/hebcal/hebcal.SlackBuild
diff options
context:
space:
mode:
author Judah Milgram2023-01-20 04:29:11 +0100
committer Willy Sudiarto Raharjo2023-01-21 04:22:01 +0100
commit3995bc945d73e053e82aa09220bcb80499992197 (patch)
tree5ab760f5f36b79e1f429918276d776558defd965 /office/hebcal/hebcal.SlackBuild
parent7054156326dc71912fa3e05146f7789edafb9855 (diff)
downloadslackbuilds-3995bc945d73e053e82aa09220bcb80499992197.tar.gz
office/hebcal: Updated for version 5.7.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/hebcal/hebcal.SlackBuild')
-rw-r--r--office/hebcal/hebcal.SlackBuild29
1 files changed, 8 insertions, 21 deletions
diff --git a/office/hebcal/hebcal.SlackBuild b/office/hebcal/hebcal.SlackBuild
index c77d841bc9..889ca83454 100644
--- a/office/hebcal/hebcal.SlackBuild
+++ b/office/hebcal/hebcal.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for hebcal
-# Copyright 2017-2022 Judah Milgram, Washington DC
+# Copyright 2017-2023 Judah Milgram, Washington DC
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=hebcal
-VERSION=${VERSION:-4.31}
+VERSION=${VERSION:-5.7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,31 +79,18 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Set the default city - see cities.h for list.
-# (New York is the distribution build default)
-CITY=${CITY:-"New York"}
-
-autoreconf --install --force
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --mandir=/usr/man \
- --with-default-city="${CITY}" \
- --build=$ARCH-slackware-linux \
- --docdir=/usr/doc/$PRGNAM-$VERSION
-
-make
-make install-strip DESTDIR=$PKG
+make clean
+make all
+make install DESTDIR=$PKG PREFIX=/usr MANDIR=/man
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING cities.h \
- $PKG/usr/doc/$PRGNAM-$VERSION
+ AUTHORS COPYING c/cities.h \
+ NEWS.md README.md README_DE.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install