development/cc65: Updated for version 2.13.1
This commit is contained in:
parent
6c2b34535f
commit
7e26ae149d
|
@ -5,15 +5,15 @@
|
|||
# Written by B. Watson (yalhcru@gmail.com)
|
||||
|
||||
PRGNAM=cc65
|
||||
VERSION=${VERSION:-2.12.0}
|
||||
VERSION=${VERSION:-2.13.1}
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
|
@ -42,8 +42,8 @@ find . \
|
|||
find . -name gcc.mak | xargs perl -i -pe \
|
||||
'if(/^CFLAGS\s*=/) { s/-g\b//; s/-O\d/'"$SLKCFLAGS"'/; }'
|
||||
|
||||
make -f make/gcc.mak prefix=/usr
|
||||
make -f make/gcc.mak install prefix=$PKG/usr docdir=$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
make -j1 -f make/gcc.mak prefix=/usr
|
||||
make -j1 -f make/gcc.mak install prefix=$PKG/usr docdir=$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
||||
# binaries already stripped, no man/info pages
|
||||
|
||||
|
@ -56,4 +56,4 @@ mkdir -p $PKG/install
|
|||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
PRGNAM="cc65"
|
||||
VERSION="2.12.0"
|
||||
VERSION="2.13.1"
|
||||
HOMEPAGE="http://cc65.org"
|
||||
DOWNLOAD="ftp://ftp.musoftware.de/pub/uz/cc65/cc65-sources-2.12.0.tar.bz2"
|
||||
MD5SUM="bd6d194a489334164a0fc383d1e12acc"
|
||||
DOWNLOAD="ftp://ftp.musoftware.de/pub/uz/cc65/cc65-sources-2.13.1.tar.bz2"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM="9015f9f70380e557e8529ebd1394b5df"
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="B. Watson"
|
||||
EMAIL="yalhcru@gmail.com"
|
||||
APPROVED="David Somero"
|
||||
APPROVED="Erik Hanson"
|
||||
|
|
Loading…
Reference in New Issue