void-packages/srcpkgs/ocaml-findlib/template

27 lines
687 B
Text

# Template file for 'ocaml-findlib'
pkgname=ocaml-findlib
version=1.3.3
revision=3
wrksrc="findlib-${version}"
makedepends="ocaml-compiler-libs"
short_desc="O'Caml library manager"
maintainer="pancake <pancake@nopcode.org>"
homepage="http://projects.camlcity.org/projects/findlib.html"
license="MIT/X11"
distfiles="http://download.camlcity.org/download/findlib-${version}.tar.gz"
checksum=981f5c67118a2be015efa79f3af3cb0063376b93123b5d695e7cb5c586b1d45c
conf_files="/etc/${pkgname}.conf"
nostrip=yes
do_configure() {
./configure -bindir /usr/bin -mandir /usr/share/man -config /etc/${pkgname}.conf
}
do_build() {
make ${makejobs}
}
do_install() {
make prefix=${DESTDIR} install
}