aboutsummaryrefslogtreecommitdiff
path: root/misc/yapet
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-08-14 13:22:55 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-14 21:17:56 +0700
commit0b131c9309cc529bac03c8f49e176086b9232975 (patch)
tree3d985c84c06d42d15145efafb57c053799a6e36e /misc/yapet
parent4c57870cc80482d8134add78a7ac38e82b477541 (diff)
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>
Diffstat (limited to 'misc/yapet')
-rw-r--r--misc/yapet/yapet.SlackBuild11
-rw-r--r--misc/yapet/yapet.info10
2 files changed, 9 insertions, 12 deletions
diff --git a/misc/yapet/yapet.SlackBuild b/misc/yapet/yapet.SlackBuild
index db87d312d31d..d377be2ec088 100644
--- a/misc/yapet/yapet.SlackBuild
+++ b/misc/yapet/yapet.SlackBuild
@@ -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 \
diff --git a/misc/yapet/yapet.info b/misc/yapet/yapet.info
index fd177d8e2930..9fcb99e4828e 100644
--- a/misc/yapet/yapet.info
+++ b/misc/yapet/yapet.info
@@ -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"