rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / library / sane-backends / Makefile
blobcee7d6d7eb52f3ff147ffe220dba585ace964dba
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
22 # Copyright (c) 2019, Michal Nowak
23 # Copyright (c) 2023, Klaus Ziegler
26 include ../../../make-rules/shared-macros.mk
28 COMPONENT_NAME= sane-backends
29 COMPONENT_VERSION= 1.1.1
30 COMPONENT_REVISION= 6
31 COMPONENT_SUMMARY= SANE library and backends
32 COMPONENT_PROJECT_URL= http://www.sane-project.org/
33 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
34 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
35 COMPONENT_ARCHIVE_HASH= sha256:dd4b04c37a42f14c4619e8eea6a957f4c7c617fe59e32ae2872b373940a8b603
36 COMPONENT_ARCHIVE_URL= https://gitlab.com/sane-project/backends/uploads/7d30fab4e115029d91027b6a58d64b43/$(COMPONENT_ARCHIVE)
37 COMPONENT_FMRI= image/scanner/xsane/sane-backends
38 COMPONENT_CLASSIFICATION=System/Libraries
39 COMPONENT_LICENSE= GPLv2+ and GPLv2+ with exceptions and Public Domain and IJG and LGPLv2+ and MIT
40 COMPONENT_LICENSE_FILE= LICENSE
42 include $(WS_MAKE_RULES)/common.mk
44 LDFLAGS += -lnsl -lsocket
46 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
47 CONFIGURE_OPTIONS += --disable-locking
48 CONFIGURE_OPTIONS += --enable-pthread
49 CONFIGURE_OPTIONS += --with-gphoto2
50 CONFIGURE_OPTIONS += --with-usb
51 CONFIGURE_OPTIONS += --without-systemd
53 COMPONENT_TEST_ENV += PATH="$(PATH.gnu)"
55 # Auto-generated dependencies
56 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
57 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
58 REQUIRED_PACKAGES += $(JPEG_IMPLEM_PKG)
59 REQUIRED_PACKAGES += image/library/libpng16
60 REQUIRED_PACKAGES += image/library/libtiff
61 REQUIRED_PACKAGES += library/desktop/cairo
62 REQUIRED_PACKAGES += library/glib2
63 REQUIRED_PACKAGES += library/libgphoto2-2
64 REQUIRED_PACKAGES += library/libpoppler
65 REQUIRED_PACKAGES += library/libusb-1
66 REQUIRED_PACKAGES += library/libxml2
67 REQUIRED_PACKAGES += shell/ksh93
68 REQUIRED_PACKAGES += system/library
69 REQUIRED_PACKAGES += system/library/math
70 REQUIRED_PACKAGES += system/management/snmp/net-snmp
71 REQUIRED_PACKAGES += system/network/avahi
72 REQUIRED_PACKAGES += web/curl