summaryrefslogtreecommitdiffstats
path: root/encap/patch-2.5.9.profile
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-07-17 01:50:47 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-07-17 01:50:47 +0000
commitb1a362970592ef5b1df40dd80bcec0b82a2aec18 (patch)
tree7cd91a4817e49b86795243e6dd2603680e95cf6c /encap/patch-2.5.9.profile
parent3a33f61125af5356b552744ae7067de2ff1709dc (diff)
downloadbcfg2-b1a362970592ef5b1df40dd80bcec0b82a2aec18.tar.gz
bcfg2-b1a362970592ef5b1df40dd80bcec0b82a2aec18.tar.bz2
bcfg2-b1a362970592ef5b1df40dd80bcec0b82a2aec18.zip
Adding a dependancy on GNU patch, which is used by encap and bcfg2 Cfg.py
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1958 ce84e21b-d406-0410-9b95-82705330c041
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>