mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
haskell/haskell-half: Updated for version 0.2.2.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
3f7860a38a
commit
efdbe7ab5e
2 changed files with 6 additions and 8 deletions
|
@ -33,7 +33,7 @@ GHC_VERSION=$(ghc --numeric-version)
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i586 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
|
@ -44,8 +44,8 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i586" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
@ -97,9 +97,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
|
||||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a \
|
cp -a CHANGELOG.markdown LICENSE README.markdown $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
CHANGELOG.markdown LICENSE README.markdown \
|
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
PRGNAM="haskell-half"
|
PRGNAM="haskell-half"
|
||||||
VERSION="0.2.2.3"
|
VERSION="0.2.2.3"
|
||||||
HOMEPAGE="http://hackage.haskell.org/package/half"
|
HOMEPAGE="https://hackage.haskell.org/package/half"
|
||||||
DOWNLOAD="http://hackage.haskell.org/package/half-0.2.2.3/half-0.2.2.3.tar.gz"
|
DOWNLOAD="https://hackage.haskell.org/package/half-0.2.2.3/half-0.2.2.3.tar.gz"
|
||||||
MD5SUM="855ea2931dd4d3bd5f93e222d1391369"
|
MD5SUM="855ea2931dd4d3bd5f93e222d1391369"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
|
|
Loading…
Reference in a new issue