add package for pdmenu
PATCH 1/1 add package for pdmenu
--- package/Config.in | 1 + package/pdmenu/Config.in | 9 +++++++++ package/pdmenu/pdmenu.mk | 9 +++++++++ 3 files changed, 19 insertions(+) create mode 100644 package/pdmenu/Config.in create mode 100644 package/pdmenu/pdmenu.mk
package/Config.in +1 -0
@@ -1847,6 +1847,7 @@ comment "Utilities" source "package/which/Config.in" source "package/xmlstarlet/Config.in" source "package/xxhash/Config.in" + source "package/pdmenu/Config.in" endmenu menu "System tools"
package/pdmenu/Config.in new file +9 -0
@@ -0,0 +1,9 @@ +config BR2_PACKAGE_PDMENU + bool "pdmenu" + depends on BR2_PACKAGE_SLANG + help + Pdmenu is a full screen menuing system for Unix. It is designed to be easy to use, and is suitable as a login shell for inexperienced users, or it can just be ran at the command line as a handy menu. + + Pdmenu features color support and GPM mouse support at the Linux console. It was developed on Linux, and has now been compiled on many other unixes without problems. + + https://joeyh.name/code/pdmenu/
package/pdmenu/pdmenu.mk new file +9 -0
@@ -0,0 +1,9 @@ +PDMENU_VERSION = 1.3.4 +PDMENU_SOURCE = pdmenu_$(PDMENU_VERSION).tar.gz +PDMENU_SITE = http://http.debian.net/debian/pool/main/p/pdmenu +PDMENU_LICENSE = GPL-2.0+ +PDMENU_LICENSE_FILES = COPYING.GPLv2 +PDMENU_DEPENDENCIES = slang +PDMENU_INSTALL_TARGET_OPTS = INSTALL_PREFIX=$(TARGET_DIR) install + +$(eval $(autotools-package))
Signature · 1 line
2.7.4
PATCH 1/1 add package for pdmenu
Hello,
Thanks a lot for your contribution! Your patch looks mostly good, there are only a few nits, see below. Could you address them and send an updated version ?
Quoted 5 lines · Brock Williams
Signed-off-by Brock Williams <[email protected]>--- package/Config.in | 1 + package/pdmenu/Config.in | 9 +++++++++ package/pdmenu/pdmenu.mk | 9 +++++++++
Please add an entry to the top-level DEVELOPERS file for this package. Also, please add a package/pdmenu/pdmenu.hash file.
package/Config.in comment "Utilities" · line 1850
Quoted 9 lines
package/Config.in +1
-0@@ -1847,6 +1847,7 @@ comment "Utilities" source "package/which/Config.in" source "package/xmlstarlet/Config.in" source "package/xxhash/Config.in" + source "package/pdmenu/Config.in"
Use alphabetic ordering for the list of packages.
package/pdmenu/Config.in line 3
Quoted 9 lines
package/pdmenu/Config.in new file +3
-0@@ -0,0 +1,9 @@ +config BR2_PACKAGE_PDMENU + bool "pdmenu" + depends on BR2_PACKAGE_SLANG
Use "select" instead of "depends on" here. As a consequence, you have to replicate the "depends of" that BR2_PACKAGE_SLANG has. So:
depends on BR2_USE_MMU # slang
select BR2_PACKAGE_SLANG
package/pdmenu/Config.in line 9
Quoted 6 lines
package/pdmenu/Config.in new file +6
-0+ help + Pdmenu is a full screen menuing system for Unix. It is designed to be easy to use, and is suitable as a login shell for inexperienced users, or it can just be ran at the command line as a handy menu. + + Pdmenu features color support and GPM mouse support at the Linux console. It was developed on Linux, and has now been compiled on many other unixes without problems. + + https://joeyh.name/code/pdmenu/
You should have run your package through ./utils/check-package, it would have told you that the indentation for the help text is one tab + two spaces, and that lines should be wrapped at the 72th column.
package/pdmenu/pdmenu.mk
Quoted 6 lines
package/pdmenu/pdmenu.mk new file +0
-0@@ -0,0 +1,9 @@
Please add the comment header that we have in all packages. Yes, it's useless and silly, but we have it everywhere :)
package/pdmenu/pdmenu.mk line 9
Quoted 9 lines
package/pdmenu/pdmenu.mk new file +9
-0+PDMENU_VERSION = 1.3.4 +PDMENU_SOURCE = pdmenu_$(PDMENU_VERSION).tar.gz +PDMENU_SITE = http://http.debian.net/debian/pool/main/p/pdmenu +PDMENU_LICENSE = GPL-2.0+ +PDMENU_LICENSE_FILES = COPYING.GPLv2 +PDMENU_DEPENDENCIES = slang +PDMENU_INSTALL_TARGET_OPTS = INSTALL_PREFIX=$(TARGET_DIR) install + +$(eval $(autotools-package))
Otherwise, looks good. Could you send an updated version?
Thanks a lot!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com