net/bwping: BWPing is a small utility for bandwidth measuring. (thank you Florian...
[packages.git] / net / cups-bjnp / Makefile
1
2 # Copyright (C) 2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=cups-bjnp
11 PKG_VERSION:=0.5.4
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/cups-bjnp
16 PKG_MD5SUM:=4f29dd69a487a90ac7603b5be5cb030f
17
18 PKG_BUILD_DEPENDS:=cups
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/cups-bjnp
23   SECTION:=net
24   CATEGORY:=Network
25   TITLE:=BJNP protocol backend for CUPS
26   URL:=http://sourceforge.net/projects/cups-bjnp/
27   DEPENDS:=cups
28 endef
29
30 define Package/cups-bjnp/description
31 CUPS backend for the canon printers using the proprietary USB over
32 IP BJNP protocol. This backend allows Cups to print over the network
33 to a Canon printer. It currently supports Cups 1.2 and Cups 1.3 and
34 is designed by reverse engineering.
35 endef
36
37 CONFIGURE_ARGS += --with-cupsbackenddir=$(STAGING_DIR)/usr/include/cups
38
39 TARGET_CFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
40
41 define Package/cups-bjnp/install
42         $(INSTALL_DIR) $(1)/usr/lib/cups/backend
43         $(INSTALL_BIN) $(PKG_BUILD_DIR)/bjnp $(1)/usr/lib/cups/backend
44 endef
45
46
47 $(eval $(call BuildPackage,cups-bjnp))