misc/owfs: Updated for version 3.2p4.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2022-02-03 17:31:18 +01:00 committed by Willy Sudiarto Raharjo
parent f14a875d54
commit 4351c988bc
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 10 additions and 9 deletions

View file

@ -7,14 +7,14 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=owfs
VERSION=${VERSION:-2.8p20}
VERSION=${VERSION:-3.2p4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -32,8 +32,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -61,7 +61,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS -fgnu89-inline" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@ -70,6 +70,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--with-fuseinclude=/usr/include \
--disable-owtcl \
--with-fuselib=/usr/lib$LIBDIRSUFFIX \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
@ -92,7 +93,7 @@ find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,8 +1,8 @@
PRGNAM="owfs"
VERSION="2.8p20"
VERSION="3.2p4"
HOMEPAGE="http://owfs.org/"
DOWNLOAD="http://downloads.sourceforge.net/owfs/owfs-2.8p20.tar.gz"
MD5SUM="9aebee6c0e724553f5be6a542494eae5"
DOWNLOAD="https://github.com/owfs/owfs/releases/download/v3.2p4/owfs-3.2p4.tar.gz"
MD5SUM="a74f63fc6797fd2d600da45b694fba38"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""