1 # Maintainer: François Lebigre <francois.lebigre@gmail.com>
2 # Contributor: Daniel Ehlers <danielehlers@mindeye.net>
6 pkgdesc="A modern XML-oriented functional language with innovative features."
7 url="http://www.cduce.org/"
10 depends=('ocaml>=3.10' 'ocaml-findlib>=1.0.3' 'ulex>=1.0' 'pcre-ocaml>=5.13.0' 'ocamlnet>=0.98')
11 optdepends=('pxp: XML parser support'
12 'ocurl: external URLs support')
13 source=(http://www.cduce.org/download/$pkgname-$pkgver.tar.gz)
14 md5sums=('5506326db28419b3f578ff225417448f')
17 cd "$srcdir/$pkgname-$pkgver"
19 ./configure --prefix=/usr
24 cd "$srcdir/$pkgname-$pkgver"
26 make BINDIR="$pkgdir/usr/bin" MANDIR="$pkgdir/usr/man" DOCDIR="$pkgdir/usr/doc/cduce" CGI_DIR="$pkgdir/var/www/cgi-bin" HTML_DIR="$pkgdir/var/www/html" SESSION_DIR="$pkgdir/tmp/cduce_sessions" install