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
|
|
|
|
|
# Packeger: milisarge
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Gerekler: ocaml ocamlbuild
|
2017-04-13 22:15:01 +02:00
|
|
|
|
|
|
|
|
|
name=camlp4
|
|
|
|
|
version=git
|
|
|
|
|
release=1
|
|
|
|
|
source=()
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-04-13 22:15:01 +02:00
|
|
|
|
cd $DERLEME_KAYNAKDIZIN
|
|
|
|
|
if [ ! -d $name ]; then
|
|
|
|
|
git clone git://github.com/ocaml/$name $name -b 4.04
|
|
|
|
|
else
|
|
|
|
|
cd $name && git pull && make clean
|
|
|
|
|
fi
|
|
|
|
|
cp -r $DERLEME_KAYNAKDIZIN/$name $SRC
|
|
|
|
|
|
|
|
|
|
cd $SRC/$name
|
|
|
|
|
|
|
|
|
|
./configure --bindir=/usr/bin --libdir=/usr/lib/ocaml
|
|
|
|
|
make -j1
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
}
|