blob: 40cb3f217a8e73bf8764b2f1bd36e83c787dfaa9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Contributor (Arch) : Serge Zirukin <ftrvxmtrx@gmail.com>
# Contributor (Arch) : Sergei Lebedev <superbobry@gmail.com>
# Contributor (Arch) : Justin Davis <jrcd 83 at gmail>
# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=ocaml-curl
pkgver=0.5.3
pkgrel=5
pkgdesc="OCaml bindings to libcurl networking library"
arch=('i686' 'x86_64')
license=('MIT')
depends=('ocaml' 'curl>=7.9.8')
makedepends=('ocaml-findlib')
options=('!strip' '!makeflags' 'staticlibs')
url='http://sourceforge.net/projects/ocurl/'
source=("http://sourceforge.net/projects/ocurl/files/ocurl/$pkgver/ocurl-$pkgver.tgz")
md5sums=('c8b955e51f79dd2c62ab89577b27fe37')
build() {
cd "$srcdir/ocurl"
./configure --prefix /usr
make
}
package() {
cd "$srcdir/ocurl"
export OCAMLFIND_DESTDIR="$pkgdir$(ocamlfind printconf destdir)"
install -dm 755 "$OCAMLFIND_DESTDIR/stublibs"
make install FINDLIB=ocamlfind
}
|