Skip to contentSkip to conversation

p910nd: new package

PATCH New Gustavo Zacarias 2 participants 2 messages Nov 2, 2013 – Nov 11, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 p910nd: new package

---
 package/Config.in        |  1 +
 package/p910nd/Config.in |  9 +++++++++
 package/p910nd/p910nd.mk | 21 +++++++++++++++++++++
 3 files changed, 31 insertions(+)
 create mode 100644 package/p910nd/Config.in
 create mode 100644 package/p910nd/p910nd.mk
package/Config.in +1 -0
index eb667a6..cc19708 100644
@@ -856,6 +856,7 @@ source "package/openobex/Config.in"
 source "package/openssh/Config.in"
 source "package/openswan/Config.in"
 source "package/openvpn/Config.in"
+source "package/p910nd/Config.in"
 source "package/portmap/Config.in"
 source "package/pppd/Config.in"
 source "package/pptp-linux/Config.in"
package/p910nd/Config.in new file +9 -0
new file mode 100644
index 0000000..33f6cf8
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_P910ND
+	bool "p910nd"
+	depends on BR2_USE_MMU # fork()
+	help
+	  p910nd is a small printer daemon intended for diskless
+	  workstations. Using ports 9100-9102, it accepts
+	  print jobs and passes them directly to a USB printer.
+
+	  http://p910nd.sourceforge.net/
package/p910nd/p910nd.mk new file +21 -0
new file mode 100644
index 0000000..48bb7e1
@@ -0,0 +1,21 @@
+################################################################################
+#
+# p910nd
+#
+################################################################################
+
+P910ND_VERSION = 0.95
+P910ND_SITE = http://downloads.sourceforge.net/project/p910nd/p910nd/$(P910ND_VERSION)
+P910ND_SOURCE = p910nd-$(P910ND_VERSION).tar.bz2
+P910ND_LICENSE = GPLv2
+P910ND_LICENSE_FILES = COPYING
+
+define P910ND_BUILD_CMDS
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
+endef
+
+define P910ND_INSTALL_TARGET_CMDS
+	$(INSTALL) -D -m 0755 $(@D)/p910nd $(TARGET_DIR)/usr/sbin/p910nd
+endef
+
+$(eval $(generic-package))
Signature · 1 line
1.8.1.5