From: Marcus Scholz Date: Sat, 5 Sep 2009 03:20:12 +0000 (+0200) Subject: Added lfs files for hplip X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de65f33204f68f2fea81f8a10892210a7961c75c;p=ipfire-3.x.git Added lfs files for hplip But I did not do the integration into make.sh, as there are some missing dependencies. I have split the package up into two: hplip_lite is what hplip looked like in ipfire-2.x hplip_full has scanner support compiled in additionally. Very usefull for HP_PSC devices to allow printing and scanning. --- diff --git a/lfs/hplip_full b/lfs/hplip_full new file mode 100644 index 000000000..6c9637ebf --- /dev/null +++ b/lfs/hplip_full @@ -0,0 +1,92 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +PKG_NAME = hplip_full +PKG_VER = 3.9.8 +PKG_REL = 0 + +THISAPP = $(PKG_NAME)-$(PKG_VER) +DL_FILE = $(THISAPP).tar.gz +DIR_APP = $(DIR_SRC)/$(THISAPP) + +OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) + +MAINTAINER = +CORE = no +EXTRA = yes +DEBUG = no +BUILD_DEPS = +DEPS = cups + +URL = http://hplipopensource.com/hplip-web/index.html +LICENSE = GPLv2+ +SHORT_DESC = HP Printer/Scanner Library (full version) + +define LONG_DESC + HPLIP (Hewlett-Packard Linux Imaging & Printing) is an HP-developed + solution for printing, scanning, and faxing with HP inkjet and laser based + printers in Linux. The HPLIP project provides printing support for 1,924 + printer models. + This is the full version including printer/scanner support. +endef + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +download: $(objects) + +info: + $(DO_PKG_INFO) + +install: $(OBJECT) + +packages: $(PACKAGES) + +$(PACKAGES): $(OBJECT) + @$(DO_PACKAGE) + +$(objects): + @$(LOAD) + +############################################################################### +# Installation Details +############################################################################### + +$(OBJECT): $(objects) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && \ + ./configure \ + $(CONFIGURE_ARCH) \ + --prefix=/usr \ + --sysconfdir=/etc + cd $(DIR_APP) && make $(PARALLELISMFLAGS) + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/lfs/hplip_lite b/lfs/hplip_lite new file mode 100644 index 000000000..f3c1767ed --- /dev/null +++ b/lfs/hplip_lite @@ -0,0 +1,95 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +PKG_NAME = hplip_full +PKG_VER = 3.9.8 +PKG_REL = 0 + +THISAPP = $(PKG_NAME)-$(PKG_VER) +DL_FILE = $(THISAPP).tar.gz +DIR_APP = $(DIR_SRC)/$(THISAPP) + +OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) + +MAINTAINER = +CORE = no +EXTRA = yes +DEBUG = no +BUILD_DEPS = +DEPS = cups + +URL = http://hplipopensource.com/hplip-web/index.html +LICENSE = GPLv2+ +SHORT_DESC = HP Printer/Scanner Library (full version) + +define LONG_DESC + HPLIP (Hewlett-Packard Linux Imaging & Printing) is an HP-developed + solution for printing, scanning, and faxing with HP inkjet and laser based + printers in Linux. The HPLIP project provides printing support for 1,924 + printer models. + This is the full version including printer/scanner support. +endef + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +download: $(objects) + +info: + $(DO_PKG_INFO) + +install: $(OBJECT) + +packages: $(PACKAGES) + +$(PACKAGES): $(OBJECT) + @$(DO_PACKAGE) + +$(objects): + @$(LOAD) + +############################################################################### +# Installation Details +############################################################################### + +$(OBJECT): $(objects) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && \ + ./configure \ + $(CONFIGURE_ARCH) \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-hpijs-only-build \ + --disable-network-build \ + --disable-scan-build + cd $(DIR_APP) && make $(PARALLELISMFLAGS) + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD)