git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1195
632fc199-4ca6-4c93-a231-
07263d6284db
PACKAGE_NAME=@PKGNAME@
VERSION=@VERSION@
+BUILD=@BUILD@
SRCDIR=@abs_top_srcdir@
-RPMARCH=@RPMARCH@
-PLATFORM=cygwin
PREFIX=%{__prefix}
DOCDIR=%{__docdir}
LIBDIR=%{__libdir}
umask 022
-if [ "$RPMARCH" = "x86_64" ]; then
- PLATFORM=cygwin64
-fi
-rm -f $PACKAGE_NAME-$VERSION-$PLATFORM.tar.bz2
+rm -f $PACKAGE_NAME-$VERSION-$BUILD.tar.bz2
TMPDIR=`mktemp -d /tmp/ljtbuild.XXXXXX`
__PWD=`pwd`
make install DESTDIR=$TMPDIR/pkg docdir=/usr/share/doc/$PACKAGE_NAME-$VERSION \
ln -fs /usr/share/doc/$PACKAGE_NAME-$VERSION $TMPDIR/pkg$DOCDIR
fi
cd $TMPDIR/pkg
-tar cfj ../$PACKAGE_NAME-$VERSION-$PLATFORM.tar.bz2 *
+tar cfj ../$PACKAGE_NAME-$VERSION-$BUILD.tar.bz2 *
cd $__PWD
mv $TMPDIR/*.tar.bz2 .