blob: 25d221621789a2c2c97ac1a3242ea6bede63de03 (
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: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=ocaml-ssl
pkgver=0.5.0
pkgrel=1
pkgdesc="OCaml SSL Library"
arch=('i686' 'x86_64')
url="http://savonet.sourceforge.net/"
license=('LGPL2.1')
depends=('openssl')
makedepends=('ocaml' 'ocaml-findlib')
source=(ocaml-ssl-0.5.0.tar.gz::http://sourceforge.net/projects/savonet/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz/download)
options=(!libtool !strip zipman !makeflags staticlibs)
md5sums=('72e5cca19b8da552e8b57b9138841f43')
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:
|