diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | META.camlidl | 5 | ||||
-rw-r--r-- | PKGBUILD | 32 | ||||
-rw-r--r-- | patch.diff | 14 |
4 files changed, 48 insertions, 17 deletions
@@ -1,17 +1,17 @@ pkgbase = camlidl pkgdesc = A stub code generator and COM binding for Objective Caml (OCaml) - pkgver = 1.07 - pkgrel = 1 + pkgver = 1.12 + pkgrel = 2 url = https://github.com/xavierleroy/camlidl - arch = i686 arch = x86_64 license = LGPL2.1 depends = ocaml options = staticlibs - source = https://github.com/xavierleroy/camlidl/archive/camlidl107.tar.gz + source = https://github.com/xavierleroy/camlidl/archive/camlidl112.tar.gz source = META.camlidl - sha256sums = aa00c826017ba5d56f7bbed4a1c2e3ab98318e32dd6cdff849a3bffb85597961 - sha256sums = ed7c8db53b950f62bfe3d1f99081a42787f7b17358dcdcc0e842daacdd5c70b2 + source = patch.diff + sha256sums = d6ab22a363f22798d303df3b0e54ba274f2c3d7ab7a3023fee1c73d8a21970aa + sha256sums = SKIP + sha256sums = SKIP pkgname = camlidl - diff --git a/META.camlidl b/META.camlidl index d18ddf7e04de..4181068747f6 100644 --- a/META.camlidl +++ b/META.camlidl @@ -1,5 +1,6 @@ -description = "Stub generator" -version = "1.06" +description = "Stub generator from IDL description" +version = "1.12" directory = "^" archive(byte) = "com.cma" +archive(byte,plugin) = "com.cma" archive(native) = "com.cmxa" @@ -1,23 +1,42 @@ +# Maintainer: Christopher Price <pricechrispy at gmail dot com> # Contributor: Simon Legner <Simon.Legner@gmail.com> # Contributor: Jakob Nixdorf <flocke@shadowice.org> # Contributor: Bertram Felgenhauer <int-e@gmx.de> -# Maintainer: Simon Legner <Simon.Legner@gmail.com> +# Contributor: Simon Legner <Simon.Legner@gmail.com> pkgname=camlidl -pkgver=1.07 +pkgver=1.12 _pkgver=${pkgver/\./} -pkgrel=1 +pkgrel=2 pkgdesc="A stub code generator and COM binding for Objective Caml (OCaml)" -arch=('i686' 'x86_64') +arch=('x86_64') url="https://github.com/xavierleroy/camlidl" license=(LGPL2.1) depends=('ocaml') +makedepends=() options=(staticlibs) source=("https://github.com/xavierleroy/$pkgname/archive/$pkgname$_pkgver.tar.gz" - META.camlidl) + META.camlidl + patch.diff) +sha256sums=('d6ab22a363f22798d303df3b0e54ba274f2c3d7ab7a3023fee1c73d8a21970aa' + 'SKIP' + 'SKIP') build() { + #ls -alh + cp patch.diff "$srcdir/$pkgname-$pkgname$_pkgver" + cd "$srcdir/$pkgname-$pkgname$_pkgver" cp config/Makefile.unix config/Makefile + + #ls -alh + #git apply -v patch.diff + patch -p1 < patch.diff + + #ls -alh /usr/lib/ocaml/Makefile.config + #mkdir -p /build/camlidl/pkg/camlidl//usr/lib/ocaml/ + #ln -s /usr/lib/ocaml/Makefile.config /build/camlidl/pkg/camlidl//usr/lib/ocaml/Makefile.config + #ls -alh /build/camlidl/pkg/camlidl//usr/lib/ocaml/Makefile.config + make all } @@ -32,6 +51,3 @@ package() { install -Dm644 "$srcdir/META.camlidl" "$_ocamldir/$pkgname/META" } - -sha256sums=('aa00c826017ba5d56f7bbed4a1c2e3ab98318e32dd6cdff849a3bffb85597961' - 'ed7c8db53b950f62bfe3d1f99081a42787f7b17358dcdcc0e842daacdd5c70b2') diff --git a/patch.diff b/patch.diff new file mode 100644 index 000000000000..2a8dd6c206b6 --- /dev/null +++ b/patch.diff @@ -0,0 +1,14 @@ +diff --git a/lib/Makefile b/lib/Makefile +index b5934e5..8c6373b 100644 +--- a/lib/Makefile ++++ b/lib/Makefile +@@ -13,7 +13,8 @@ + #* $Id: Makefile,v 1.4 2002-04-22 11:50:47 xleroy Exp $ + + include ../config/Makefile +-include $(OCAMLLIB)/Makefile.config ++#include $(OCAMLLIB)/Makefile.config ++include /usr/lib/ocaml/Makefile.config + + BYTEOBJS=com.cmo + BYTELIB=com.cma |