libraries/lablgtk: Updated for version 2.18.2.

Removed file conflicting with ocaml's ones
(thanks to Jason Graham)

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2014-10-22 17:17:58 +02:00 committed by Willy Sudiarto Raharjo
parent 14a68c585d
commit 6ec05a8968
2 changed files with 8 additions and 5 deletions

View file

@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=lablgtk
VERSION=${VERSION:-2.18.0}
VERSION=${VERSION:-2.18.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -81,6 +81,9 @@ sed -i -e "s/\\(CFLAGS += -O\\)/CFLAGS +=/" src/Makefile
make -j1 world
make DESTDIR=$PKG install
# remove file conflicting with ocaml's ones
rm -f $PKG/usr/lib$LIBDIRSUFFIX/ocaml/ld.conf
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View file

@ -1,8 +1,8 @@
PRGNAM="lablgtk"
VERSION="2.18.0"
HOMEPAGE="http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgtk.html"
DOWNLOAD="https://forge.ocamlcore.org/frs/download.php/1261/lablgtk-2.18.0.tar.gz"
MD5SUM="a3cff730a0e9545b2aebc71b2cb0d18d"
VERSION="2.18.2"
HOMEPAGE="http://lablgtk.forge.ocamlcore.org"
DOWNLOAD="https://forge.ocamlcore.org/frs/download.php/1456/lablgtk-2.18.2.tar.gz"
MD5SUM="382003b46e52249810b3d6e7e9f3c80b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ocaml-findlib"