mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
52 lines
1.0 KiB
Bash
52 lines
1.0 KiB
Bash
SUMMARY="Preprocessor-pretty-printer of OCaml"
|
|
DESCRIPTION="Camlp5 is a preprocessor-pretty-printer of OCaml. \
|
|
It is compatible with OCaml versions from 1.07 to 4.02.0."
|
|
HOMEPAGE="https://camlp5.github.io/"
|
|
COPYRIGHT="2007-2017 Institut National de Recherche en Informatique et en Automatique (INRIA)."
|
|
LICENSE="BSD (3-clause)"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/camlp5/camlp5/archive/rel705.tar.gz"
|
|
CHECKSUM_SHA256="ccc7afd2936c75cbee4aad58cd2ef8e7bf0dded556b91d76e4e462a27550ff12"
|
|
SOURCE_FILENAME="camlp5-$portVersion.tar.gz"
|
|
SOURCE_DIR="camlp5-rel705"
|
|
|
|
ARCHITECTURES="?all x86_gcc2"
|
|
|
|
PROVIDES="
|
|
camlp5
|
|
cmd:camlp5
|
|
cmd:camlp5o
|
|
cmd:camlp5o.opt
|
|
cmd:camlp5r
|
|
cmd:camlp5r.opt
|
|
cmd:camlp5sch
|
|
cmd:mkcamlp5
|
|
cmd:mkcamlp5.opt
|
|
cmd:ocpp5
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:make
|
|
cmd:ocaml
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
./configure --strict --bindir "$binDir" \
|
|
--mandir "$manDir" --libdir "$libDir"
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install BINDIR="$binDir" \
|
|
MANDIR="$manDir" LIBDIR="$libDir"
|
|
}
|