blob: 1bca81a8995ba444eb8dcfa846c1511f91b7d188 (
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
31
32
33
34
35
36
37
38
|
# Maintainer (AUR): robertfoster
# Contributor (AUR): Sigmund Vestergaard <sigmundv at gmail dot com>
# Contributor (AUR): Denis Wernert <denis@wernert.info>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
# parabola changes and rationale:
# no changes.
pkgname=ocaml-ssl
pkgver=0.5.3
pkgrel=1
pkgdesc="OCaml SSL Library"
arch=('i686' 'x86_64' 'armv7h')
url="http://savonet.sourceforge.net/"
license=('custom')
depends=('openssl')
makedepends=('ocaml' 'ocaml-findlib' 'autoconf')
source=(https://github.com/savonet/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz)
options=(!libtool !strip zipman !makeflags staticlibs)
build() {
cd $pkgname-$pkgver
autoconf
./configure --prefix /usr
make
}
package() {
OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)"
cd $pkgname-$pkgver
mkdir -p $OCAMLFIND_DESTDIR/stublibs
OCAMLFIND_INSTFLAGS="-destdir $OCAMLFIND_DESTDIR -ldconf /dev/null" make install
mkdir -p $pkgdir/usr/share/licenses/$pkgname/
awk 'BEGIN{P=0} /License/ {P = 1;} {if (P) print}' README.md > $pkgdir/usr/share/licenses/$pkgname/license
}
md5sums=('9fd48066d1cd4db52b40e2f59a7d4d83')
|