talimat 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Tanım: Tcl betik dili
  2. # URL: http://www.tcl.tk/
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. # Grup: geliştirme
  6. isim=tcl
  7. surum=8.6.4
  8. devir=1
  9. kaynak=( http://downloads.sourceforge.net/$isim/$isim$surum-src.tar.gz)
  10. derle() {
  11. # build package
  12. cd $isim$surum/unix
  13. if [ "$CARCH" = "x86_64" ]; then
  14. ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --enable-64bit
  15. else
  16. ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --disable-64bit
  17. fi
  18. make
  19. sed -e "s#$SRCDIR/unix#/usr/lib#" \
  20. -e "s#$SRCDIR#/usr/include#" \
  21. -i tclConfig.sh
  22. sed -e "s#$SRCDIR/unix/pkgs/tdbc1.0.3#/usr/lib/tdbc1.0.3#" \
  23. -e "s#$SRCDIR/pkgs/tdbc1.0.3/generic#/usr/include#" \
  24. -e "s#$SRCDIR/pkgs/tdbc1.0.3/library#/usr/lib/tcl8.6#" \
  25. -e "s#$SRCDIR/pkgs/tdbc1.0.3#/usr/include#" \
  26. -i pkgs/tdbc1.0.3/tdbcConfig.sh
  27. sed -e "s#$SRCDIR/unix/pkgs/itcl4.0.3#/usr/lib/itcl4.0.3#" \
  28. -e "s#$SRCDIR/pkgs/itcl4.0.3/generic#/usr/include#" \
  29. -e "s#$SRCDIR/pkgs/itcl4.0.3#/usr/include#" \
  30. -i pkgs/itcl4.0.3/itclConfig.sh
  31. unset SRCDIR
  32. make DESTDIR=$PKG install
  33. make DESTDIR=$PKG install-private-headers
  34. ln -svf tclsh8.6 $PKG/usr/bin/tclsh
  35. chmod -v 755 $PKG/usr/lib/libtcl8.6.so
  36. }