mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
system/agedu: Updated for version 20211129.8cd63c5.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
97284612e6
commit
0064b57cb4
2 changed files with 17 additions and 16 deletions
|
@ -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
|
||||
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 ..
|
||||
|
||||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
gzip $PKG/usr/man/man1/$PRGNAM.1
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue