summaryrefslogtreecommitdiffstats
path: root/encap/patch-2.5.9.profile
diff options
context:
space:
mode:
Diffstat (limited to 'encap/patch-2.5.9.profile')
-rw-r--r--encap/patch-2.5.9.profile48
1 files changed, 48 insertions, 0 deletions
diff --git a/encap/patch-2.5.9.profile b/encap/patch-2.5.9.profile
new file mode 100644
index 000000000..e357bd028
--- /dev/null
+++ b/encap/patch-2.5.9.profile
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+
+<!-- $Id$ -->
+
+<encap_profile
+ profile_ver="1.0"
+ pkgspec="patch-2.5.9"
+>
+
+<environment
+ variable="CC"
+ value="gcc"
+ type="set"
+/>
+
+<environment
+ variable="PATH"
+ value="/usr/local/bin:"
+ type="prepend"
+/>
+
+PLATFORM_IF_MATCH(linux)
+PLATFORM_ELSE
+<environment
+ variable="MAKE"
+ value="gmake"
+ type="set"
+/>
+PLATFORM_ENDIF
+
+<source
+ url="http://www.pobox.com/users/dclark/mirror/patch-2.5.9.tar.gz
+ ftp://alpha.gnu.org/gnu/diffutils/patch-2.5.9.tar.gz"
+>
+
+</source>
+
+<prepackage type="set">
+mkdir var 2>/dev/null || exit 0
+mkdir var/encap 2>/dev/null || exit 0
+touch var/encap/${ENCAP_PKGNAME}
+</prepackage>
+
+<encapinfo>
+description patch - Apply a diff file to an original
+</encapinfo>
+
+</encap_profile>