milis/talimatname/genel/c/camlp4/talimat

26 lines
508 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Camlp4 tool
2017-04-13 22:15:01 +02:00
# URL: https://github.com/ocaml/camlp4
2017-12-24 00:52:58 +01:00
# Paketçi: milisarge
2017-10-27 20:46:27 +02:00
# Gerekler: ocaml ocamlbuild
2017-12-24 00:47:53 +01:00
# Grup: geliştirme
2017-04-13 22:15:01 +02:00
2017-10-28 14:10:23 +02:00
isim=camlp4
surum=git
devir=1
kaynak=()
2017-04-13 22:15:01 +02:00
2017-12-24 00:47:53 +01:00
# Packeger: milisarge
2017-10-27 23:59:41 +02:00
derle() {
2017-04-13 22:15:01 +02:00
cd $DERLEME_KAYNAKDIZIN
2017-10-28 14:10:23 +02:00
if [ ! -d $isim ]; then
git clone git://github.com/ocaml/$isim $isim -b 4.04
2017-04-13 22:15:01 +02:00
else
2017-10-28 14:10:23 +02:00
cd $isim && git pull && make clean
2017-04-13 22:15:01 +02:00
fi
2017-10-28 14:10:23 +02:00
cp -r $DERLEME_KAYNAKDIZIN/$isim $SRC
cd $SRC/$isim
2017-04-13 22:15:01 +02:00
./configure --bindir=/usr/bin --libdir=/usr/lib/ocaml
make -j1
make DESTDIR=$PKG install
}