milis/talimatname/genel/camlp4/talimat

26 lines
479 B
Plaintext

# Description: Camlp4 tool
# URL: https://github.com/ocaml/camlp4
# Packeger: milisarge
# Depends on: ocaml ocamlbuild
name=camlp4
version=git
release=1
source=()
build() {
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
}