sane: fix special case for 22 year old hardware.
This commit is contained in:
parent
a4681f82fb
commit
0bd02c2c07
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'sane'
|
# Template file for 'sane'
|
||||||
pkgname=sane
|
pkgname=sane
|
||||||
version=1.0.25
|
version=1.0.25
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="sane-backends-${version}"
|
wrksrc="sane-backends-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
build_options="snmp"
|
build_options="snmp"
|
||||||
@ -97,11 +97,8 @@ distfiles="http://ftp.lfs-matrix.net/pub/blfs/conglomeration/sane-backends/sane-
|
|||||||
checksum=a4d7ba8d62b2dea702ce76be85699940992daf3f44823ddc128812da33dc6e2c
|
checksum=a4d7ba8d62b2dea702ce76be85699940992daf3f44823ddc128812da33dc6e2c
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
# musl provides ioperm but not inb/outb for any arch expect
|
# qcam backend does IO port bitbanging, x86 only.
|
||||||
# i386/x32/x86_64 (using bits/io.h included in sys/io.h).
|
i686*|x86_64*) conf_files+=" /etc/sane.d/qcam.conf";;
|
||||||
# Then, qcam backend is disabled for arm arch.
|
|
||||||
armv[67]l-musl) ;;
|
|
||||||
*) conf_files+=" /etc/sane.d/qcam.conf";;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user