misc/dwdiff: Updated for version 1.4

This commit is contained in:
slakmagik 2010-05-11 22:24:29 +02:00 committed by David Somero
parent 009ed29d43
commit 5684cf8ecb
3 changed files with 22 additions and 6 deletions

View file

@ -13,3 +13,6 @@ what is printed, and the markers.
If you wish to have de localization or nl localization and manpages, pass
'NLS="de nl"' or either one to the SlackBuild.
If you wish to enable the handling of Unicode text, install the icu4c library
and pass "UNICODE=yes" to the SlackBuild.

View file

@ -5,7 +5,7 @@
# Released under the WTFPL
PRGNAM=dwdiff
VERSION=1.3
VERSION=1.4
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -19,6 +19,14 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
if [[ -z $UNICODE ]]; then
UNICODE=without
else
UNICODE=with
fi
set -e
@ -39,9 +47,14 @@ find . \
# This is one messed up makefile
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure --prefix=/usr --mandir='$(prefix)/usr/man'
./configure \
--${UNICODE}-unicode \
--prefix=/usr \
--mandir='$(prefix)/man'
make LINGUAS="${NLS:=""}" prefix=$PKG/usr
make LINGUAS="${NLS:=""}" prefix=$PKG/usr install
mv $PKG/usr/share/doc $PKG/usr
if [ -z "$NLS" ]; then # share/ will be empty
rmdir $PKG/usr/share

View file

@ -1,8 +1,8 @@
PRGNAM="dwdiff"
VERSION="1.3"
VERSION="1.4"
HOMEPAGE="http://os.ghalkes.nl/dwdiff.html"
DOWNLOAD="http://os.ghalkes.nl/dist/dwdiff-1.3.tgz"
MD5SUM="dddf28ca43a4b490a6999e6b379596da"
DOWNLOAD="http://os.ghalkes.nl/dist/dwdiff-1.4.tgz"
MD5SUM="8415fdb6963fe662d0042bb18dde49df"
MAINTAINER="slakmagik"
EMAIL="jsun@freeshell.org"
APPROVED="rworkman"
APPROVED="David Somero"