talimat 479 B

1234567891011121314151617181920212223242526
  1. # Description: Camlp4 tool
  2. # URL: https://github.com/ocaml/camlp4
  3. # Packeger: milisarge
  4. # Depends on: ocaml ocamlbuild
  5. name=camlp4
  6. version=git
  7. release=1
  8. source=()
  9. build() {
  10. cd $DERLEME_KAYNAKDIZIN
  11. if [ ! -d $name ]; then
  12. git clone git://github.com/ocaml/$name $name -b 4.04
  13. else
  14. cd $name && git pull && make clean
  15. fi
  16. cp -r $DERLEME_KAYNAKDIZIN/$name $SRC
  17. cd $SRC/$name
  18. ./configure --bindir=/usr/bin --libdir=/usr/lib/ocaml
  19. make -j1
  20. make DESTDIR=$PKG install
  21. }