Use 'uname -m', which in practice returns the processor architecture.
--- psm-3.3/buildflags.mak~ 2014-08-20 21:00:18.000000000 +0100
+++ psm-3.3/buildflags.mak 2017-10-22 12:02:12.855291447 +0100
@@ -38,7 +38,7 @@
endif
export os ?= $(shell uname -s | tr '[A-Z]' '[a-z]')
-export arch := $(shell uname -p | sed -e 's,\(i[456]86\|athlon$$\),i386,')
+export arch := $(shell uname -m | sed -e 's,\(i[456]86\|athlon$$\),i386,')
CC ?= gcc
ps://git.koszko.org/cgit-static/cgit.png' alt='cgit logo'/>
index : guix | |
Wojtek's customized Guix | |
Age | Commit message (Expand) | Author |
2022-08-29 | gnu: tesseract-ocr: Propagate leptonica....* gnu/packages/ocr.scm (tesseract-ocr)[inputs]: Move LEPTONICA ...
[propagated-inputs]: ... here.
| Marius Bakke |
2022-08-12 | gnu: tesseract-ocr: Make the default install minimally useful....Fixes <https://issues.guix.gnu.org/47536>.
* gnu/packages/ocr.scm (tesseract-ocr)
[phases]{adjust-TESSDATA_PREFIX-macro}: New phase.
{install-minimal-tessdata}: New phase.
[native-inputs]: Add tesseract-ocr-tessdata-fast.
[search-paths]: New field.
[description]: Mention how to add support for more languages.
| Maxim Cournoyer |
2022-08-12 | gnu: Add tesseract-ocr-tessdata-fast....* gnu/packages/ocr.scm (tesseract-ocr-tessdata-fast): New variable.
| Maxim Cournoyer |
2022-08-12 | gnu: tesseract-ocr: Update to 5.2.0....* gnu/packages/ocr.scm (tesseract-ocr): Update to 5.2.0.
[inputs, native-inputs]: Move after arguments. Use new style inputs.
[arguments]: Use gexps.
[configure-flags]: Add --disable-static.
[phases]{fix-docbook}: Replace phase with...
{do-not-override-xml-catalog-files}: ... this new phase.
{build-training}: Move after build phase. Enable parallel build.
{trailing-install}: Move after install phase.
[native-inputs]: Add libxml2.
| Maxim Cournoyer |
2022-08-12 | gnu: ocrad: Update to 0.28....* gnu/packages/ocr.scm (ocrad): Update to 0.28.
| Maxim Cournoyer |
2022-05-31 | gnu: Remove python2-zinnia....* gnu/packages/ocr.scm (python2-zinnia): Delete variable.
| Maxim Cournoyer |