recipe 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # Recipe file for jimtcl.
  2. #
  3. # Maintainers: (C) 2016 Mateus P. Rodrigues, mprodrigues@dragora.org.
  4. #
  5. # Under the terms of the GNU General Public License.
  6. program=jimtcl
  7. version=20160909
  8. release=1
  9. description="
  10. Jim is an opensource small-footprint implementation of the Tcl
  11. programming language. It implements a large subset of Tcl and adds new
  12. features like references with garbage collection, closures, built-in
  13. Object Oriented Programming system, Functional Programming commands,
  14. first-class arrays and UTF-8 support. All this with a binary size of
  15. about 100-200kB (depending upon selected options).
  16. The Jim core is very stable. Jim passes over 3000 unit tests and many
  17. Tcl programs run unmodified. Jim is highly modular with the possiblity
  18. to configure many components as loadable modules, or omitted
  19. entirely. A number of extensions are included with Jim which may be
  20. built as loadable modules.
  21. Jim cross compiles easily and is in use in many embedded
  22. environments. It runs under many operating systems, including Linux,
  23. FreeBSD, QNX, eCos, Windows (cygwin and mingw32).
  24. Jim has built-in command line editing for the interactive shell,
  25. jimsh.
  26. "
  27. homepage=http://jim.tcl.tk
  28. license=BSD
  29. tarname=${program}-${version}.tar.lz
  30. # Remote source(s)
  31. fetch=""
  32. # Parallel jobs for the compiler
  33. jobs=1
  34. # Source documentation
  35. docs="AUTHORS BUGS DEVELOPING LICENSE README* STYLE TODO"
  36. build() {
  37. unpack "${tardir}/$tarname"
  38. cd "$srcdir"
  39. ./configure CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS"
  40. make -j${jobs}
  41. make -j${jobs} install DESTDIR="$destdir"
  42. # Copy documentation
  43. mkdir -p "${destdir}/usr/share/doc/${program}-${version}"
  44. cp -p $docs "${destdir}/usr/share/doc/${program}-${version}/"
  45. }