kumquat-buildroot/package/hplip/hplip.mk
Thomas De Schampheleire aaffd209fa packages: rename FOO_CONF_OPT into FOO_CONF_OPTS
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS,
make the same change for FOO_CONF_OPT.

Sed command used:
   find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g'

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-04 18:54:16 +02:00

54 lines
1.4 KiB
Makefile

################################################################################
#
# hplip
#
################################################################################
HPLIP_VERSION = 3.13.10
HPLIP_SITE = http://downloads.sourceforge.net/hplip/hplip
HPLIP_AUTORECONF = YES
HPLIP_DEPENDENCIES = cups libusb jpeg
HPLIP_LICENSE = GPLv2 BSD-3c MIT
HPLIP_LICENSE_FILES = COPYING
HPLIP_CONF_OPTS = \
--disable-qt4 \
--disable-scan-build \
--disable-gui-build \
--disable-doc-build \
--disable-network-build \
--enable-hpcups-install \
--disable-hpijs-install \
--enable-cups-ppd-install \
--enable-cups-drv-install \
--disable-foomatic-ppd-install \
--disable-foomatic-drv-install \
--disable-foomatic-rip-hplip-install \
--enable-new-hpcups \
--enable-lite-build \
--with-sysroot=$(STAGING_DIR) \
--includedir=$(STAGING_DIR)/usr/include
ifeq ($(BR2_PACKAGE_DBUS),y)
HPLIP_CONF_OPTS += --enable-dbus-build
HPLIP_DEPENDENCIES += dbus
else
HPLIP_CONF_OPTS += --disable-dbus-build
endif
define HPLIP_POST_INSTALL_TARGET_FIXUP
mkdir -p $(TARGET_DIR)/usr/share/hplip/data/models
cp $(@D)/data/models/* $(TARGET_DIR)/usr/share/hplip/data/models
endef
HPLIP_POST_INSTALL_TARGET_HOOKS += HPLIP_POST_INSTALL_TARGET_FIXUP
define HPLIP_PRE_CONFIGURE_FIXUP
touch $(@D)/AUTHORS
touch $(@D)/ChangeLog
touch $(@D)/NEWS
touch $(@D)/README
endef
HPLIP_PRE_CONFIGURE_HOOKS += HPLIP_PRE_CONFIGURE_FIXUP
$(eval $(autotools-package))