add hplip (based on a patch by Evan Felix)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10704 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
310df4a5b2
commit
623be150b3
62
utils/hplip/Makefile
Normal file
62
utils/hplip/Makefile
Normal file
@ -0,0 +1,62 @@
|
||||
#
|
||||
# Copyright (C) 2006 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# $Id: $
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=hplip
|
||||
PKG_VERSION:=2.7.12
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@SF/hplip
|
||||
PKG_MD5SUM:=ba00337ccf1b520509518bffbec960db
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_BUILD_DEPENDS := python
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/hplip
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=HP Linux Imaging and Printing
|
||||
URL:=http://sourceforge.net/projects/hplip/
|
||||
DEPENDS+=+libjpeg +sane-libs +cups +libusb
|
||||
endef
|
||||
|
||||
define Package/hplip/description
|
||||
HPLIP is an HP developed solution for printing, scanning, and faxing with HP inkjet and laser based printers in Linux.
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--disable-gui-build \
|
||||
--disable-network-build \
|
||||
--disable-fax-build \
|
||||
--disable-pp-build \
|
||||
--disable-doc-build \
|
||||
--disable-foomatic-xml-install
|
||||
|
||||
define Package/hplip/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_BUILD_DIR)/.libs/libhpip.so* $(1)/usr/lib/
|
||||
$(CP) $(PKG_BUILD_DIR)/.libs/libhpmud.so* $(1)/usr/lib/
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/lib/cups/backend
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/hp $(1)/usr/lib/cups/backend
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/lib/sane
|
||||
$(CP) $(PKG_BUILD_DIR)/.libs/libsane-hpaio.so* $(1)/usr/lib/sane
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/hp
|
||||
$(CP) $(PKG_BUILD_DIR)/hplip.conf $(1)/etc/hp/hplip.conf
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/share/hplip/data/models/
|
||||
$(CP) $(PKG_BUILD_DIR)/data/models/models.dat $(1)/usr/share/hplip/data/models/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,hplip))
|
Loading…
x
Reference in New Issue
Block a user