diff options
Diffstat (limited to 'encap/tools/daemontools/patch-2.5.9.ep')
-rw-r--r-- | encap/tools/daemontools/patch-2.5.9.ep | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/encap/tools/daemontools/patch-2.5.9.ep b/encap/tools/daemontools/patch-2.5.9.ep new file mode 100644 index 000000000..3707a4c1f --- /dev/null +++ b/encap/tools/daemontools/patch-2.5.9.ep @@ -0,0 +1,52 @@ +<?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" +PLATFORM_IF_MATCH(solaris) + value="/usr/local/lib/bcfg2/bin:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin:" +PLATFORM_ELSE + value="/usr/local/lib/bcfg2/bin:/usr/local/bin:" +PLATFORM_ENDIF + 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/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> |