blob: b8af1a7314c3df60b7f22d2cd96faa9939d98974 (
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) : Denis Wernert <denis@wernert.info>
# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=ocaml-ssl
pkgver=0.4.6
pkgrel=3
pkgdesc="OCaml SSL Library"
arch=('i686' 'x86_64')
url="http://savonet.sourceforge.net/"
license=('MIT')
depends=('ocaml')
makedepends=('openssl' 'ocaml-findlib')
source=(ocaml-ssl-0.4.6.tar.gz::http://sourceforge.net/projects/savonet/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz/download)
options=(!libtool !strip zipman !makeflags)
build() {
cd $pkgname-$pkgver
./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
}
# vim:set ts=2 sw=2 et:
|