libraries/ocaml-camomile: Updated for version 0.8.5.

Fixes build failure with ocaml-4.01.0.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2016-01-18 00:56:35 +00:00 committed by Willy Sudiarto Raharjo
parent e3c3001113
commit 8c1656eb02
2 changed files with 6 additions and 6 deletions

View file

@ -21,7 +21,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ocaml-camomile
VERSION=0.8.3
VERSION=0.8.5
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
@ -66,7 +66,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Install missing library, thanks debian
patch -p1 < $CWD/0002-Install-missing-camomileLibrary.a.patch
@ -85,7 +85,7 @@ sed -i 's|^OCAMLLIB = \(.*\)$|OCAMLLIB = $(DESTDIR)\1|' Makefile
long='$(DESTDIR)/$$(ocamlfind printconf destdir)'
sed -i "s|\\(ocamlfind install\\)| mkdir -p $long; \\1 -destdir $long |" Makefile
make
make -j1
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file \

View file

@ -1,8 +1,8 @@
PRGNAM="ocaml-camomile"
VERSION="0.8.3"
VERSION="0.8.5"
HOMEPAGE="http://camomile.sourceforge.net/"
DOWNLOAD="http://prdownloads.sourceforge.net/camomile/camomile-0.8.3.tar.bz2"
MD5SUM="c6476bdb4138d222bc14396a82205034"
DOWNLOAD="https://github.com/yoriyuki/Camomile/releases/download/rel-0.8.5/camomile-0.8.5.tar.bz2"
MD5SUM="1e25b6cd4efd26ab38a667db18d83f02"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ocaml"