updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / camlidl / PKGBUILD
blob71e0f30dbfb098d281db85627ae0949c9b7624ae
1 # Contributor: Simon Legner <Simon.Legner@gmail.com>
2 # Maintainer: Simon Legner <Simon.Legner@gmail.com>
3 pkgname=camlidl
4 pkgver=1.05
5 pkgrel=1
6 pkgdesc="A stub code generator and COM binding for Objective Caml (OCaml)"
7 arch=('i686' 'x86_64')
8 url="http://caml.inria.fr/pub/old_caml_site/camlidl/"
9 license=('custom')
10 groups=()
11 depends=(ocaml)
12 makedepends=()
13 optdepends=()
14 provides=()
15 conflicts=()
16 replaces=()
17 backup=()
18 options=()
19 install=
20 source=(http://caml.inria.fr/pub/old_caml_site/distrib/bazar-ocaml/$pkgname-$pkgver.tar.gz)
21 noextract=()
22 md5sums=('4cfb863bc3cbdc1af2502042c45cc675')
24 build() {
25   cd "$srcdir/$pkgname-$pkgver"
27   cp config/Makefile.unix config/Makefile
28   make all || return 1
29   BINDIR="$pkgdir/usr/bin" 
30   OCAMLLIB="$pkgdir`ocamlc -where`" 
31   mkdir -p $BINDIR $OCAMLLIB/caml
32   install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
33   make BINDIR=$BINDIR OCAMLLIB=$OCAMLLIB install
36 # vim:set ts=2 sw=2 et: