misc/yapet: Updated for version 2.5.

This fixes building on -current.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2021-08-14 13:22:55 +12:00 committed by Willy Sudiarto Raharjo
parent 4c57870cc8
commit 0b131c9309
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 9 additions and 12 deletions

View file

@ -25,14 +25,14 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=yapet
VERSION=${VERSION:-1.0}
VERSION=${VERSION:-2.5}
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
@ -50,8 +50,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"
@ -79,9 +79,6 @@ 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 {} \;
# From upstream
patch -p1 < $CWD/gcc6.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \

View file

@ -1,10 +1,10 @@
PRGNAM="yapet"
VERSION="1.0"
HOMEPAGE="https://www.guengel.ch/myapps/yapet/"
DOWNLOAD="https://www.guengel.ch/myapps/yapet/downloads/yapet-1.0.tar.bz2"
MD5SUM="a3cf3c274abefdbee15acd74dbdbb1ee"
VERSION="2.5"
HOMEPAGE="https://yapet.guengel.ch/"
DOWNLOAD="https://yapet.guengel.ch/downloads/yapet-2.5.tar.bz2"
MD5SUM="4016dbb2a1826691ce76d68b6116efab"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
REQUIRES="cppunit"
MAINTAINER="Eric Mulvaney"
EMAIL="eric.mulvaney@gmail.com"