ocaml-lidl: fix META registration
This commit is contained in:
parent
d40e77365e
commit
bb3401839f
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'ocaml-lidl'
|
# Template file for 'ocaml-lidl'
|
||||||
pkgname=ocaml-lidl
|
pkgname=ocaml-lidl
|
||||||
version=1.05
|
version=1.05
|
||||||
revision=3
|
revision=4
|
||||||
wrksrc="camlidl-${version}"
|
wrksrc="camlidl-${version}"
|
||||||
makedepends="ocaml-compiler-libs"
|
makedepends="ocaml-compiler-libs"
|
||||||
short_desc="stub code generator and COM binding for Objective Caml"
|
short_desc="stub code generator and COM binding for Objective Caml"
|
||||||
@ -22,8 +22,21 @@ do_build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
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
|
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() {
|
ocaml-lidl_package() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user