potrace-1.16-foss-2024a.eb 935 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. easyblock = 'ConfigureMake'
  2. name = 'potrace'
  3. version = '1.16'
  4. homepage = 'http://potrace.sourceforge.net/'
  5. description = """Potrace is a tool for tracing a bitmap, which means transforming
  6. a bitmap into a smooth, scalable image."""
  7. toolchain = {'name': 'foss', 'version': '2024a'}
  8. source_urls = ['https://sourceforge.net/projects/potrace/files/']
  9. sources = [SOURCELOWER_TAR_GZ]
  10. checksums = [
  11. 'be8248a17dedd6ccbaab2fcc45835bb0502d062e40fbded3bc56028ce5eb7acc',
  12. ]
  13. builddependencies = [
  14. ('Autotools', '20231222'),
  15. ]
  16. configopts = ['--with-libpotrace --enable-shared --disable-static --libdir=%(installdir)s/lib --includedir=%(installdir)s/include']
  17. install_cmd = 'make install'
  18. sanity_check_paths = {
  19. 'dirs': [
  20. 'bin',
  21. ],
  22. 'files': [
  23. 'bin/potrace',
  24. 'lib/libpotrace.so',
  25. 'include/potracelib.h',
  26. ],
  27. }
  28. sanity_check_commands = [
  29. 'potrace --version',
  30. ]
  31. moduleclass = 'tools'