milis/talimatname/genel/c/cppo/talimat

25 lines
689 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: OCaml için C stili önişlemci
# URL: https://github.com/mjambon/cppo
# Paketçi: Cihan_Alkan
# Gerekler: ocaml ocamlbuild opam dune
# Grup: kütüphane
isim=cppo
surum=1.6.4
devir=1
kaynak=(https://github.com/mjambon/cppo/archive/v$surum.tar.gz::${isim}-${surum}.tar.gz)
derle() {
cd ${isim}-${surum}
make
# Initialize OPAM
export OPAMROOT="${SRC}"/opam
opam init -n
# Work around the install command
make OCAMLFIND_DESTDIR="${PKG}$(ocamlfind printconf destdir)" install
install -Dm755 "${SRC}"/opam/system/bin/cppo -t "${PKG}"/usr/bin
install -Dm644 "${SRC}"/opam/system/doc/${isim}/LICENSE.md -t "${PKG}"/usr/share/licenses/${isim}/
}