]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - nano/nano.nm
Move all packages to root.
[people/amarx/ipfire-3.x.git] / nano / nano.nm
diff --git a/nano/nano.nm b/nano/nano.nm
new file mode 100644 (file)
index 0000000..7d38f23
--- /dev/null
@@ -0,0 +1,42 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = nano
+version    = 2.3.0
+release    = 1
+
+groups     = Application/Editors
+url        = http://www.nano-editor.org/
+license    = GPLv2+
+summary    = A small text editor.
+
+description
+       GNU nano is a small and friendly text editor.
+end
+
+source_dl  =
+
+build
+       requires
+               groff
+               ncurses-devel
+       end
+
+       configure_options += \
+               --bindir=/bin \
+               --sysconfdir=/etc/nano \
+               --enable-color \
+               --enable-multibuffer \
+               --enable-nanorc
+
+       install_cmds
+               install -v -m644 -D doc/nanorc.sample \
+                       %{BUILDROOT}/etc/nano/nanorc.sample
+       end
+end
+
+packages
+       package %{name}
+end