diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-06-06 13:36:45 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-06-06 13:36:45 -0300 |
commit | d1e161df4f6111d527c2570958ebaf637411e3e2 (patch) | |
tree | 4231f47e1699769d42f49cccde20687be979e89a /pcr/ocaml-curl/PKGBUILD | |
parent | 84b75f29126e52357bbdd40860269d9197fd68fd (diff) | |
parent | a93d4a7da5c55af8f8669fdb63194c0680e0f748 (diff) |
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/ocaml-curl/PKGBUILD')
-rw-r--r-- | pcr/ocaml-curl/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/ocaml-curl/PKGBUILD b/pcr/ocaml-curl/PKGBUILD new file mode 100644 index 000000000..0bc9669b4 --- /dev/null +++ b/pcr/ocaml-curl/PKGBUILD @@ -0,0 +1,29 @@ +# 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=3 +pkgdesc="OCaml bindings to libcurl networking library" +arch=('i686' 'x86_64') +license=('BSD') +depends=('ocaml' 'curl>=7.9.8') +makedepends=('ocaml-findlib') +options=(!strip !makeflags) +url='http://sourceforge.net/projects/ocurl/' +source=("http://sourceforge.net/projects/ocurl/files/ocurl/$pkgver/ocurl-$pkgver.tgz") + +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 +} |