mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
system/ibam: Updated for version 0.5.2
This commit is contained in:
parent
a5ca3494f5
commit
30b0025afd
2 changed files with 17 additions and 13 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for ibam
|
||||
|
||||
# Copyright (c) 2008, Antonio Hernández Blas <hba.nihilismus@gmail.com>
|
||||
# Copyright (c) 2008-2009 Antonio Hernández Blas <hba.nihilismus@gmail.com>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -22,7 +22,7 @@
|
|||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=ibam
|
||||
VERSION=${VERSION:-0.5.1}
|
||||
VERSION=${VERSION:-0.5.2}
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -38,6 +38,7 @@ elif [ "$ARCH" = "i686" ]; then
|
|||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
@ -60,18 +61,19 @@ find . \
|
|||
sed -i 's/^CFLAGS=-O3/CFLAGS+=/' Makefile
|
||||
CFLAGS="$SLKCFLAGS" make
|
||||
|
||||
# Install binary by hand
|
||||
# This is the only binary to package so there's no
|
||||
# need to worry about $LIBDIRSUFFIX
|
||||
install -D -m 0755 $PRGNAM $PKG/usr/bin/$PRGNAM
|
||||
|
||||
( cd $PKG
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
||||
xargs strip --strip-unneeded 2> /dev/null || true
|
||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
|
||||
xargs strip --strip-unneeded 2> /dev/null
|
||||
xargs strip --strip-unneeded 2> /dev/null || true
|
||||
)
|
||||
|
||||
# Install binary by hand
|
||||
install -D -m 0755 $PRGNAM $PKG/usr/bin/$PRGNAM
|
||||
|
||||
# There's no manpages
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a REPORT README CHANGES $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
@ -80,4 +82,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="ibam"
|
||||
VERSION="0.5.1"
|
||||
VERSION="0.5.2"
|
||||
HOMEPAGE="http://ibam.sourceforge.net"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/ibam/ibam-0.5.1.tar.gz"
|
||||
MD5SUM="235525af8435727c466fce3fd82a0e3f"
|
||||
MAINTAINER="Antonio Hernández Blas"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/ibam/ibam-0.5.2.tar.gz"
|
||||
MD5SUM="2d5222ff504dd19e7c1ea8acc2f13cf5"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Antonio Hernández Blas"
|
||||
EMAIL="hba.nihilismus@gmail.com"
|
||||
APPROVED="rworkman"
|
||||
APPROVED="dsomero"
|
||||
|
|
Loading…
Reference in a new issue