diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2013-11-14 21:18:34 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-14 14:32:30 -0600 |
commit | d168a001be0670dd325a0b7d115518d6dc656544 (patch) | |
tree | 14caea08e1916a423ea5a897c67e62467e00c1fc /libraries | |
parent | 0d82b962d181b0c7de3043398e39ed6f7f3775f0 (diff) | |
download | slackbuilds-d168a001be0670dd325a0b7d115518d6dc656544.tar.gz |
libraries/ocaml-batteries: Updated for version 2.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/ocaml-batteries/ocaml-batteries.SlackBuild | 18 | ||||
-rw-r--r-- | libraries/ocaml-batteries/ocaml-batteries.info | 8 |
2 files changed, 16 insertions, 10 deletions
diff --git a/libraries/ocaml-batteries/ocaml-batteries.SlackBuild b/libraries/ocaml-batteries/ocaml-batteries.SlackBuild index 47b981522b..9a9ef20446 100644 --- a/libraries/ocaml-batteries/ocaml-batteries.SlackBuild +++ b/libraries/ocaml-batteries/ocaml-batteries.SlackBuild @@ -21,7 +21,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ocaml-batteries -VERSION=1.4.1 +VERSION=${VERSION:-2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,15 +62,21 @@ rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . -chmod -R u+w,go+r-w,a-s . +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 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ make all -make doc +#make doc -mkdir -p $PKG/$(ocamlfind printconf destdir) -make install DESTDIR=$PKG/$(ocamlfind printconf destdir) +OCAMLFIND_DESTDIR="$PKG/$(ocamlfind printconf destdir)" +sed "s|PATH_INSTALL=|PATH_INSTALL=$PKG/|" -i Makefile +mkdir -p "${OCAMLFIND_DESTDIR}" +OCAMLFIND_DESTDIR="${OCAMLFIND_DESTDIR}" DESTDIR="$PKG" PREFIX="/usr" make install mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION make install-doc DOCROOT=$PKG/usr/doc/$PRGNAM-$VERSION @@ -81,7 +87,7 @@ find $PKG -print0 | xargs -0 file \ || true cp -a \ - ChangeLog FAQ LICENSE README* VERSION \ + ChangeLog FAQ LICENSE README* \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/ocaml-batteries/ocaml-batteries.info b/libraries/ocaml-batteries/ocaml-batteries.info index f197006eee..355c7018d5 100644 --- a/libraries/ocaml-batteries/ocaml-batteries.info +++ b/libraries/ocaml-batteries/ocaml-batteries.info @@ -1,10 +1,10 @@ PRGNAM="ocaml-batteries" -VERSION="1.4.1" +VERSION="2.1" HOMEPAGE="http://batteries.forge.ocamlcore.org/" -DOWNLOAD="https://forge.ocamlcore.org/frs/download.php/684/batteries-1.4.1.tar.gz" -MD5SUM="733d602a3a25ba9c4366eec9356fe5fb" +DOWNLOAD="http://forge.ocamlcore.org/frs/download.php/1218/batteries-2.1.tar.gz" +MD5SUM="95567687a675107e58c66b93b9ea9bb1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="ocaml-camomile ocaml-findlib" +REQUIRES="ocaml-bisect ocaml-camomile ocaml-findlib" MAINTAINER="Jockey S. Kyd" EMAIL="jockey.kyd@gmail.com" |