void-packages/srcpkgs/ocaml-camomile/template
2013-04-29 17:51:25 +02:00

27 lines
770 B
Text

# Template file for 'ocaml-camomile'
pkgname=ocaml-camomile
version=0.8.3
revision=1
wrksrc="camomile-${version}"
build_style=gnu-configure
makedepends="ocaml-compiler-libs ocaml-findlib ocaml"
short_desc="Unicode library for O'Caml"
maintainer="pancake <pancake@nopcode.org>"
homepage="http://camomile.sourceforge.net/"
license="LGPL2"
distfiles="${SOURCEFORGE_SITE}/camomile/camomile-${version}.tar.bz2"
checksum=94c8d65d417c90301f6b3b21e4b00e151c434a3e2d406c3d5b3363859034f27b
disable_parallel_build=yes
do_install() {
mkdir -p "${DESTDIR}/usr/lib/ocaml/site-lib/camomile"
sed -e "s|ocamlfind install|ocamlfind install -destdir '${DESTDIR}$(ocamlfind printconf destdir)'|" -i Makefile
make install
}
ocaml-camomile_package() {
pkg_install() {
vmove all
}
}