void-packages/srcpkgs/ocaml-findlib/template

35 lines
749 B
Plaintext
Raw Normal View History

2013-04-29 16:27:29 +02:00
# Template file for 'ocaml-findlib'
pkgname=ocaml-findlib
version=1.3.3
revision=3
2013-04-29 16:27:29 +02:00
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
2013-04-29 16:27:29 +02:00
do_configure() {
./configure -bindir /usr/bin -mandir /usr/share/man -config /etc/${pkgname}.conf
}
do_build() {
make ${makejobs}
}
do_install() {
make prefix=${DESTDIR} install
}
ocaml-findlib_package() {
pkg_install() {
vmove all
}
}