summaryrefslogtreecommitdiffstats
path: root/core/modules/cups-sicgs
diff options
context:
space:
mode:
authorSimon Rettberg2022-06-13 16:50:12 +0200
committerSimon Rettberg2022-06-13 16:50:12 +0200
commitd81af50d24e5ca8cc7c494dca8afee48d643519c (patch)
tree4fb4cba6ddab40a26c821700b3713d1eb14c19ef /core/modules/cups-sicgs
parent[nvidia-common] Workaround to build on host with nvidia driver loaded (diff)
downloadmltk-d81af50d24e5ca8cc7c494dca8afee48d643519c.tar.gz
mltk-d81af50d24e5ca8cc7c494dca8afee48d643519c.tar.xz
mltk-d81af50d24e5ca8cc7c494dca8afee48d643519c.zip
[cups-sicgs] Use local mirror for driver
Diffstat (limited to 'core/modules/cups-sicgs')
-rw-r--r--core/modules/cups-sicgs/module.build8
-rw-r--r--core/modules/cups-sicgs/module.conf2
2 files changed, 4 insertions, 6 deletions
diff --git a/core/modules/cups-sicgs/module.build b/core/modules/cups-sicgs/module.build
index 874176c4..5c28fe27 100644
--- a/core/modules/cups-sicgs/module.build
+++ b/core/modules/cups-sicgs/module.build
@@ -2,18 +2,16 @@
fetch_source() {
- [ -s "${MODULE_WORK_DIR}/src/driver.zip" ] && return 0
+ [ -s "${MODULE_WORK_DIR}/src/driver.tar.gz" ] && return 0
rm -rf -- "${MODULE_WORK_DIR}/src"
mkdir -p "${MODULE_WORK_DIR}/src"
- download "${REQUIRED_ARCHIVE}" "${MODULE_WORK_DIR}/src/driver.zip"
+ download "${REQUIRED_ARCHIVE}" "${MODULE_WORK_DIR}/src/driver.tar.gz"
}
build() {
cde "${MODULE_WORK_DIR}/src/"
- # Initial archive is zip
- unzip -j -o "${MODULE_WORK_DIR}/src/driver.zip" || perror "Could not extract initial driver.zip"
# Then we have two tgz, 32bit and 64bit
- tar -x -f *${X86_64_I386}*.tar* --wildcards '*/sic*' || perror "Could not extract binaries from inner tar"
+ tar -x -f driver.tar.gz --wildcards '*/sic*' || perror "Could not extract binaries from inner tar"
mkdir -p "${MODULE_BUILD_DIR}/usr/bin"
find . -name "sic*" -type f -executable -exec cp {} "${MODULE_BUILD_DIR}/usr/bin" \; \
diff --git a/core/modules/cups-sicgs/module.conf b/core/modules/cups-sicgs/module.conf
index 53a18090..ebe0ac19 100644
--- a/core/modules/cups-sicgs/module.conf
+++ b/core/modules/cups-sicgs/module.conf
@@ -1,6 +1,6 @@
#!/bin/bash
-REQUIRED_ARCHIVE="http://files.canon-europe.com/files/soft45525/Software/CQue_v3.0.2_Linux_32_64_DE.tar.zip"
+REQUIRED_ARCHIVE="http://132.230.4.17/install/mltk/cque-de-3.0-2.${X86_64_I386}.tar.gz"
REQUIRED_BINARIES="
sicgsfilter
sicnc