diff options
Diffstat (limited to 'development/harec/harec.SlackBuild')
-rw-r--r-- | development/harec/harec.SlackBuild | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/development/harec/harec.SlackBuild b/development/harec/harec.SlackBuild index 8e565168f8..8ac48f8c22 100644 --- a/development/harec/harec.SlackBuild +++ b/development/harec/harec.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for harec +# Copyright 2024 Sean Hinchee # Copyright 2023 Dave Gauer, http://ratfactor.com # All rights reserved. # @@ -31,11 +32,11 @@ cd $(dirname $0) ; CWD=$(pwd) # https://git.alpinelinux.org/aports/tree/community/harec/APKBUILD # PRGNAM=harec -VERSION=${VERSION:-20230225} +VERSION=${VERSION:-0.24.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -COMMITVERSION=${COMMITVERSION:-b95dcfd0ca8d599c406415236329020fb31c72e4} +COMMITVERSION=${COMMITVERSION:-aaf2f364c6d9fad452416c0385ccd296541d5661} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -95,16 +96,21 @@ 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 {} \; -mkdir build -cd build -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -../configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --mandir=/usr/man +#mkdir build +#cd build +#CFLAGS="$SLKCFLAGS" \ +#CXXFLAGS="$SLKCFLAGS" \ +#../configure \ +# --prefix=/usr \ +# --libdir=/usr/lib${LIBDIRSUFFIX} \ +# --sysconfdir=/etc \ +# --mandir=/usr/man + +cp configs/linux.mk config.mk + +sed -i -e 's|/usr/local|/usr|g' config.mk +PREFIX=/usr \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ make VERBOSE=1 @@ -114,12 +120,12 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true # back out of build directory -cd .. mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ COPYING \ README.md \ + MAINTAINERS \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |