milis/talimatname/genel/c/camlp4/talimat

26 lines
508 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: Camlp4 tool
# URL: https://github.com/ocaml/camlp4
# Paketçi: milisarge
# Gerekler: ocaml ocamlbuild
# Grup: geliştirme
isim=camlp4
surum=git
devir=1
kaynak=()
# Packeger: milisarge
derle() {
cd $DERLEME_KAYNAKDIZIN
if [ ! -d $isim ]; then
git clone git://github.com/ocaml/$isim $isim -b 4.04
else
cd $isim && git pull && make clean
fi
cp -r $DERLEME_KAYNAKDIZIN/$isim $SRC
cd $SRC/$isim
./configure --bindir=/usr/bin --libdir=/usr/lib/ocaml
make -j1
make DESTDIR=$PKG install
}