milis/talimatname/genel/o/ocaml-lablgl/talimat

32 lines
851 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: O'Caml kütüphane yöneticisi
# URL: http://projects.camlcity.org/projects/findlib.html
# Paketçi: milisarge
# Gerekler: ocaml camlp4 xorg-glu xorg-libxi xorg-libxmu
isim=ocaml-lablgl
_isim=lablgl
surum=1.05
devir=1
kaynak=(https://forge.ocamlcore.org/frs/download.php/1254/lablgl-$surum.tar.gz)
derle() {
cd ${_name}-$surum
sed 17d Makefile.config.linux.mdk > Makefile.config
make lib
make libopt
make install BINDIR="$PKG/usr/bin/" \
LIBDIR="$PKG/usr/lib/ocaml/" \
DDLDIR="$PKG/usr/lib/ocaml/stublibs/" \
INSTALLDIR="$PKG/usr/lib/ocaml/lablGL/"
install -Dm644 src/lablgl.cmxa "$PKG"/usr/lib/ocaml/lablgl.cmxa
# stublibs kütüphanelerini doğru konumlamak için
mv "$PKG/usr/lib/ocaml/stublibs" /tmp/temp.so
mkdir -p "$PKG/usr/lib/ocaml/stublibs"
mv /tmp/temp.so "$PKG/usr/lib/ocaml/stublibs/dlllablgl.so"
}