]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blobdiff - pkgs/hplip/hplip.nm
Change file layout of the makefiles.
[people/stevee/ipfire-3.x.git] / pkgs / hplip / hplip.nm
index c765b6f3fd59b20404b918fb406d0c9fae864453..16eb31de4601fee694c10069c84386898115f1b4 100644 (file)
@@ -1,52 +1,48 @@
 ###############################################################################
-#                                                                             #
-# IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007, 2008 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 <http://www.gnu.org/licenses/>.       #
-#                                                                             #
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
 ###############################################################################
 
-###############################################################################
-# Definitions
-###############################################################################
-
-include $(PKGROOT)/Include
-
-PKG_NAME       = hplip
-PKG_VER        = 3.10.9
-PKG_REL        = 0
+name       = hplip
+version    = 3.10.9
+release    = 1
 
-PKG_MAINTAINER =
-PKG_GROUPS     = Applications/Printing
-PKG_URL        = http://hplipopensource.com/hplip-web/index.html
-PKG_LICENSE    = GPLv2*
-PKG_SUMMARY    = HP Printer/Scanner Library (full version).
+groups     = Applications/Printing
+url        = http://hplipopensource.com/hplip-web/index.html
+license    = GPLv2*
+summary    = HP Printer/Scanner Library (full version).
 
-PKG_BUILD_DEPS+= autoconf automake cups-devel dbus-devel gcc-c++ libjpeg-devel \
-       libtool libusb-compat-devel net-snmp-devel pkg-config python-devel \
-       sane-devel
-
-define PKG_DESCRIPTION
+description
        HPLIP (Hewlett-Packard Linux Imaging & Printing) is an HP-developed \
        olution 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
-
-PKG_TARBALL    = $(THISAPP).tar.gz
-
-CONFIGURE_OPTIONS += \
+end
+
+source_dl  =
+
+build
+       requires
+               autoconf
+               automake
+               cups-devel
+               dbus-devel
+               gcc-c++
+               libjpeg-devel
+               libtool
+               libusb-compat-devel
+               net-snmp-devel
+               pkg-config
+               python-devel
+               sane-devel
+       end
+
+       configure_options += \
                --sysconfdir=/etc
+end
+
+packages
+       package %{name}
+       end
+end