milis/talimatname/genel/c/cppo/talimat

25 lines
689 B
Plaintext
Raw Normal View History

2018-04-15 13:49:34 +02:00
# 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}/
}