Merge branch 'master' of github.com:xtraeme/xbps-packages
* 'master' of github.com:xtraeme/xbps-packages: ocaml-lidl: fix META registration
This commit is contained in:
commit
6bca9a20f9
1 changed files with 15 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue