2 # Copyright (C) 2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/cups-bjnp
16 PKG_MD5SUM
:=4f29dd69a487a90ac7603b5be5cb030f
18 PKG_BUILD_DEPENDS
:=cups
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/cups-bjnp
26 TITLE
:=BJNP protocol backend for CUPS
27 URL
:=http
://sourceforge.net
/projects
/cups-bjnp
/
31 define Package
/cups-bjnp
/description
32 CUPS backend for the canon printers using the proprietary USB over
33 IP BJNP protocol. This backend allows Cups to
print over the network
34 to a Canon printer. It currently supports Cups
1.2 and Cups
1.3 and
35 is designed by reverse engineering.
38 CONFIGURE_ARGS
+= --with-cupsbackenddir
=$(STAGING_DIR
)/usr
/include/cups
40 TARGET_CFLAGS
+=-Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib
42 define Package
/cups-bjnp
/install
43 $(INSTALL_DIR
) $(1)/usr
/lib
/cups
/backend
44 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/bjnp
$(1)/usr
/lib
/cups
/backend
48 $(eval
$(call BuildPackage
,cups-bjnp
))