Merge branch 'master' of github.com:xtraeme/xbps-packages
* 'master' of github.com:xtraeme/xbps-packages: ocaml-findlib, ocaml-lidl: enable parallel builds New package: ocaml-lidl-1.05
This commit is contained in:
commit
5e38c61c6f
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'ocaml-findlib'
|
||||
pkgname=ocaml-findlib
|
||||
version=1.3.3
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="findlib-${version}"
|
||||
makedepends="ocaml-compiler-libs"
|
||||
short_desc="O'Caml library manager"
|
||||
|
@ -12,7 +12,6 @@ distfiles="http://download.camlcity.org/download/findlib-${version}.tar.gz"
|
|||
checksum=981f5c67118a2be015efa79f3af3cb0063376b93123b5d695e7cb5c586b1d45c
|
||||
|
||||
conf_files="/etc/${pkgname}.conf"
|
||||
disable_parallel_build=yes
|
||||
|
||||
do_configure() {
|
||||
./configure -bindir /usr/bin -mandir /usr/share/man -config /etc/${pkgname}.conf
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'ocaml-lidl'
|
||||
pkgname=ocaml-lidl
|
||||
version=1.05
|
||||
revision=2
|
||||
wrksrc="camlidl-${version}"
|
||||
makedepends="ocaml-compiler-libs"
|
||||
short_desc="stub code generator and COM binding for Objective Caml"
|
||||
maintainer="pancake <pancake@nopcode.org>"
|
||||
homepage="http://caml.inria.fr/pub/old_caml_site/camlidl/"
|
||||
license="Q"
|
||||
distfiles="http://caml.inria.fr/pub/old_caml_site/distrib/bazar-ocaml/camlidl-${version}.tar.gz"
|
||||
checksum=857ed5bd3b2f99c62813070e1a5b4b6375e837c6815f4ad956baeb6f8c660311
|
||||
|
||||
do_configure() {
|
||||
cp -f config/Makefile.unix config/Makefile
|
||||
}
|
||||
|
||||
do_build() {
|
||||
make ${makejobs} CPP=cpp BINDIR=/usr/bin OCAMLLIB=/usr/lib/ocaml
|
||||
}
|
||||
|
||||
do_install() {
|
||||
mkdir -p ${DESTDIR}/usr/bin ${DESTDIR}/usr/lib/ocaml/caml
|
||||
make BINDIR=${DESTDIR}/usr/bin OCAMLLIB=${DESTDIR}/usr/lib/ocaml install
|
||||
}
|
||||
|
||||
ocaml-lidl_package() {
|
||||
pkg_install() {
|
||||
vmove all
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue