aboutsummaryrefslogtreecommitdiff
path: root/system/agedu
diff options
context:
space:
mode:
Diffstat (limited to 'system/agedu')
-rw-r--r--system/agedu/agedu.SlackBuild29
-rw-r--r--system/agedu/agedu.info6
2 files changed, 18 insertions, 17 deletions
diff --git a/system/agedu/agedu.SlackBuild b/system/agedu/agedu.SlackBuild
index 47f65df37bb6..48c2ccaaa96f 100644
--- a/system/agedu/agedu.SlackBuild
+++ b/system/agedu/agedu.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20221226 bkw: Update for v20211129.8cd63c5 (autoconf => cmake).
# 20201025 bkw: Update for v20200705.2a7d4a2.
# 20200302 bkw: Update for v20200206.963bc9d.
# 20191130 bkw: Update for v20190630.66cb14d.
@@ -18,7 +19,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=agedu
-VERSION=${VERSION:-20200705.2a7d4a2}
+VERSION=${VERSION:-20211129.8cd63c5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -66,19 +67,19 @@ 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 \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make VERBOSE=1
+ make install/strip DESTDIR=$PKG
+cd ..
+
gzip $PKG/usr/man/man1/$PRGNAM.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/system/agedu/agedu.info b/system/agedu/agedu.info
index eae2f87c390f..2a6335fa5d66 100644
--- a/system/agedu/agedu.info
+++ b/system/agedu/agedu.info
@@ -1,8 +1,8 @@
PRGNAM="agedu"
-VERSION="20200705.2a7d4a2"
+VERSION="20211129.8cd63c5"
HOMEPAGE="https://www.chiark.greenend.org.uk/~sgtatham/agedu/"
-DOWNLOAD="https://slackware.uk/~urchlay/src/agedu-20200705.2a7d4a2.tar.gz"
-MD5SUM="db17b0c0a7ee222e54e02e6a53ac10d7"
+DOWNLOAD="https://slackware.uk/~urchlay/src/agedu-20211129.8cd63c5.tar.gz"
+MD5SUM="0b59611f867948a098a1dd36e1775608"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""