mirror of https://git.wownero.com/dsc/mxe.git
add package ocaml-camlimages
This commit is contained in:
parent
1dcda3d89e
commit
25f1d75294
|
@ -1683,6 +1683,11 @@ USE_OSGPLUGIN(<plugin2>)
|
|||
<td id="ocaml-cairo-version">1.2.0</td>
|
||||
<td id="ocaml-cairo-website"><a href="http://cairographics.org/cairo-ocaml/">cairo-ocaml</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="ocaml-camlimages-package">camlimages</td>
|
||||
<td id="ocaml-camlimages-version">4.0.1</td>
|
||||
<td id="ocaml-camlimages-website"><a href="http://gallium.inria.fr/camlimages">camlimages</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="ocaml-core-package">ocaml</td>
|
||||
<td id="ocaml-core-version">4.00.0</td>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,5 @@
|
|||
open Images
|
||||
open Ximage2
|
||||
open Png
|
||||
open Gif
|
||||
open Tiff
|
|
@ -0,0 +1,34 @@
|
|||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := ocaml-camlimages
|
||||
$(PKG)_IGNORE :=
|
||||
#REVISION : wget -q -O- 'https://bitbucket.org/camlspotter/camlimages/downloads' | sed -n 's,.*camlspotter/camlimages/src/\(.*\)">caml.*,\1,ip'
|
||||
$(PKG)_CHECKSUM := 3ff44142386970003d3cff1446ad351b36759a8e
|
||||
# ATTENTION, checksum a revoir avec vrai paquet
|
||||
$(PKG)_SUBDIR := camlspotter-camlimages-c803efa9d5d3
|
||||
$(PKG)_FILE := v4.0.1.tar.gz
|
||||
$(PKG)_URL := https://bitbucket.org/camlspotter/camlimages/get/v4.0.1.tar.gz
|
||||
$(PKG)_DEPS := ocaml-findlib freetype libpng giflib tiff ocaml-lablgtk2
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
wget -q -O- 'https://bitbucket.org/camlspotter/camlimages/downloads' | \
|
||||
$(SED) -n 's,.*camlimages-\([0-9][^>]*\)\.tar.*,\1,ip' | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
cd '$(1)' && cp -f doc/old/* doc/
|
||||
cd '$(1)' && autoreconf -fi
|
||||
cd '$(1)' && ./configure \
|
||||
--prefix '$(PREFIX)/$(TARGET)' \
|
||||
--build="`config.guess`" \
|
||||
--with-lablgtk2=yes \
|
||||
--host $(TARGET) \
|
||||
--disable-bytecode-library \
|
||||
--disable-shared
|
||||
$(MAKE) -C '$(1)' -j '$(JOBS)' install
|
||||
# test
|
||||
cp '$(2).ml' '$(1)/test.ml'
|
||||
cd '$(1)' && '$(TARGET)-ocamlfind' opt -linkpkg -package camlimages test.ml
|
||||
endef
|
Loading…
Reference in New Issue