mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
42 lines
938 B
Makefile
42 lines
938 B
Makefile
COMMENT= SANE backend for eSCL and WSD scanners
|
|
REVISION= 0
|
|
|
|
DIST_TUPLE= github alexpevzner sane-airscan 0.99.36 .
|
|
|
|
SHARED_LIBS += sane-airscan 0.0 # 1
|
|
|
|
CATEGORIES= graphics
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
# Atomics
|
|
COMPILER= base-clang ports-gcc
|
|
COMPILER_LANGS= c
|
|
|
|
WANTLIB += avahi-client avahi-common c gnutls jpeg m png pthread
|
|
WANTLIB += tiff xml2
|
|
|
|
MODULES= devel/meson
|
|
|
|
BUILD_DEPENDS= graphics/sane-backends
|
|
|
|
LIB_DEPENDS= graphics/png \
|
|
graphics/tiff \
|
|
net/avahi,-libs \
|
|
security/gnutls \
|
|
textproc/libxml
|
|
|
|
RUN_DEPENDS= graphics/sane-backends
|
|
|
|
DEBUG_PACKAGES= ${BUILD_PACKAGES}
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sane-airscan
|
|
mv ${WRKINST}${SYSCONFDIR}/sane.d ${PREFIX}/share/examples/sane-airscan/
|
|
ln -s libsane-airscan.so.${LIBsane-airscan_VERSION} \
|
|
${PREFIX}/lib/sane/libsane-airscan.so
|
|
.include <bsd.port.mk>
|