ocaml-lidl: fix META registration

This commit is contained in:
pancake 2013-04-30 17:59:49 +02:00
parent d40e77365e
commit bb3401839f

View file

@ -1,7 +1,7 @@
# Template file for 'ocaml-lidl'
pkgname=ocaml-lidl
version=1.05
revision=3
revision=4
wrksrc="camlidl-${version}"
makedepends="ocaml-compiler-libs"
short_desc="stub code generator and COM binding for Objective Caml"
@ -22,8 +22,21 @@ do_build() {
}
do_install() {
mkdir -p ${DESTDIR}/usr/bin ${DESTDIR}/usr/lib/ocaml/caml
mkdir -p ${DESTDIR}/usr/bin \
${DESTDIR}/usr/lib/ocaml/caml \
${DESTDIR}/usr/lib/ocaml/site-lib/camlidl
make BINDIR=${DESTDIR}/usr/bin OCAMLLIB=${DESTDIR}/usr/lib/ocaml install
cat > ${DESTDIR}/usr/lib/ocaml/site-lib/camlidl/META << EOF
# Specifications for the "unix" library:
requires = ""
description = "LIDL"
version = "1.05"
directory = "^"
browse_interfaces = " Unit name: Unix Unit name: UnixLabels "
archive(byte) = "com.cma"
archive(native) = "com.cmxa"
archive(byte,mt_vm) = "com.cma"
EOF
}
ocaml-lidl_package() {