]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - patch/patch.nm
Move all packages to root.
[people/ms/ipfire-3.x.git] / patch / patch.nm
diff --git a/patch/patch.nm b/patch/patch.nm
new file mode 100644 (file)
index 0000000..642be7d
--- /dev/null
@@ -0,0 +1,45 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = patch
+version    = 2.6.1
+release    = 1
+
+groups     = Build Development/Tools
+url        = http://www.gnu.org/software/patch/patch.html
+license    = GPLv2+
+summary    = Utility for modifying/upgrading files.
+
+description
+       The patch program applies diff files to originals. The diff \
+       command is used to compare an original to a changed file.\
+        Diff lists the changes made to the file. A person who has \
+       the original file can then use the patch command with the \
+       diff file to add the changes to their original file.
+end
+
+source_dl  =
+
+build
+       requires
+               ed
+               libselinux-devel
+               pkg-config
+       end
+
+       CFLAGS += -D_GNU_SOURCE
+
+       test
+               make check
+       end
+
+       install
+               make install prefix=%{BUILDROOT}/usr
+       end
+end
+
+packages
+       package %{name}
+end