diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-08-14 12:15:27 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-08-14 21:17:55 +0700 |
commit | 99f2ffb8d6075a62e914e9a1aeda399b17118137 (patch) | |
tree | 0a945769c9e8fbc92f96dc50bd8b758408724e33 /misc | |
parent | a142215b52998858b829e31a4aeb7ff038a5f1f5 (diff) |
misc/ydpdict: Updated for version 1.0.3.
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')
-rw-r--r-- | misc/ydpdict/ydpdict.SlackBuild | 14 | ||||
-rw-r--r-- | misc/ydpdict/ydpdict.info | 8 |
2 files changed, 11 insertions, 11 deletions
diff --git a/misc/ydpdict/ydpdict.SlackBuild b/misc/ydpdict/ydpdict.SlackBuild index d4f7832e4428a..287c7a7d300a8 100644 --- a/misc/ydpdict/ydpdict.SlackBuild +++ b/misc/ydpdict/ydpdict.SlackBuild @@ -8,14 +8,14 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ydpdict -VERSION=${VERSION:-1.0.2} +VERSION=${VERSION:-1.0.3} 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 @@ -33,8 +33,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" @@ -63,6 +63,8 @@ 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 {} \; +./autogen.sh + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -75,8 +77,6 @@ CXXFLAGS="$SLKCFLAGS" \ --disable-static \ --build=$ARCH-slackware-linux -patch -p0 < $CWD/ydpdict.patch - make make install DESTDIR=$PKG @@ -91,7 +91,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r mv $PKG/etc/ydpdict.conf $PKG/etc/ydpdict.conf.new mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/misc/ydpdict/ydpdict.info b/misc/ydpdict/ydpdict.info index 38d6266e12b26..902ac6ac2ceb7 100644 --- a/misc/ydpdict/ydpdict.info +++ b/misc/ydpdict/ydpdict.info @@ -1,8 +1,8 @@ PRGNAM="ydpdict" -VERSION="1.0.2" -HOMEPAGE="http://toxygen.net/ydpdict/" -DOWNLOAD="http://toxygen.net/ydpdict/ydpdict-1.0.2.tar.gz" -MD5SUM="339be2191e94f0af5abcd037c3ef368a" +VERSION="1.0.3" +HOMEPAGE="https://github.com/wojtekka/ydpdict" +DOWNLOAD="https://github.com/wojtekka/ydpdict/archive/1.0.3/ydpdict-1.0.3.tar.gz" +MD5SUM="8af97ad2598a5e339c778fa949349b12" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libydpdict" |