mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
libraries/libinklevel: Updated for version 0.7.3
This commit is contained in:
parent
9a1e2c5952
commit
633a798584
3 changed files with 8 additions and 21 deletions
|
@ -1,11 +0,0 @@
|
|||
diff -Nur libinklevel-0.7.2.orig/Makefile libinklevel-0.7.2/Makefile
|
||||
--- libinklevel-0.7.2.orig/Makefile 2007-07-28 14:01:36.000000000 -0500
|
||||
+++ libinklevel-0.7.2/Makefile 2008-01-06 13:46:04.856750896 -0600
|
||||
@@ -1,6 +1,6 @@
|
||||
DESTDIR =
|
||||
PREFIX = /usr/local
|
||||
-CFLAGS = -Wall -O2 -fPIC -DPIC -I.
|
||||
+CFLAGS += -Wall -O2 -fPIC -DPIC -I.
|
||||
CC = gcc
|
||||
|
||||
all: libinklevel.so.4.0.7.2
|
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=libinklevel
|
||||
VERSION=0.7.2
|
||||
VERSION=0.7.3
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -37,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then
|
|||
SLKCFLAGS="-march=i486 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-march=i686 -mtune=i686"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-fPIC"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
@ -54,11 +56,7 @@ find . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# Apply a small patch to the default Makefile to respect additional CFLAGS
|
||||
# Sent upstream 20070105 --rworkman
|
||||
patch -p1 < $CWD/libinklevel-0.7.2-Makefile.diff
|
||||
|
||||
CFLAGS="$SLKCFLAGS" make
|
||||
CFLAGS+="$SLKCFLAGS" make PREFIX=/usr
|
||||
make install PREFIX=/usr DESTDIR=$PKG
|
||||
|
||||
( cd $PKG
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="libinklevel"
|
||||
VERSION="0.7.2"
|
||||
VERSION="0.7.3"
|
||||
HOMEPAGE="http://libinklevel.sourceforge.net/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/libinklevel/libinklevel-0.7.2.tar.gz"
|
||||
MD5SUM="1e55e9d2264493c2ee736de7bf6f709f"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/libinklevel/libinklevel-0.7.3.tar.gz"
|
||||
MD5SUM="c7ccefec29d1d218d1aae240f6044fe1"
|
||||
MAINTAINER="Robby Workman"
|
||||
EMAIL="rw@rlworkman.net"
|
||||
APPROVED="BP{k}"
|
||||
APPROVED="Michiel"
|
||||
|
|
Loading…
Reference in a new issue