diff options
author | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2009-11-11 19:30:54 +0000 |
---|---|---|
committer | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2009-11-11 19:30:54 +0000 |
commit | d63ea8a2fe1484dae8f23d388bf9e5e93bd0afb9 (patch) | |
tree | a28aed24c3d0606718a2a2a7a099447aab84a403 /encap/src/encap-profiles/m4-1.4.4.sh | |
parent | 2535920830fc57f30fd6eb9c4b6569a100d40126 (diff) | |
download | bcfg2-d63ea8a2fe1484dae8f23d388bf9e5e93bd0afb9.tar.gz bcfg2-d63ea8a2fe1484dae8f23d388bf9e5e93bd0afb9.tar.bz2 bcfg2-d63ea8a2fe1484dae8f23d388bf9e5e93bd0afb9.zip |
No longer being maintained, no one expressed interest on mailing list, so removing from trunk.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5569 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'encap/src/encap-profiles/m4-1.4.4.sh')
-rwxr-xr-x | encap/src/encap-profiles/m4-1.4.4.sh | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/encap/src/encap-profiles/m4-1.4.4.sh b/encap/src/encap-profiles/m4-1.4.4.sh deleted file mode 100755 index 35bd80bbf..000000000 --- a/encap/src/encap-profiles/m4-1.4.4.sh +++ /dev/null @@ -1,100 +0,0 @@ -#!/bin/sh -# $Id$ - -ENCAP_PKGNAME="m4-1.4.4" -PATH="$PATH:/usr/local/bin" -export PATH - -date > ${ENCAP_PKGNAME}.log - -if [ -f "${ENCAP_PKGNAME}.ep" ]; then rm ${ENCAP_PKGNAME}.ep; fi -cat > ${ENCAP_PKGNAME}.ep << EOF -<?xml version="1.0"?> - -<encap_profile - profile_ver="1.0" - pkgspec="m4-1.4.4" -> - -<environment - variable="CC" - value="gcc -static-libgcc" - type="set" -/> - -<environment - variable="PATH" - value="/usr/local/bin:" - type="prepend" -/> - -<environment - variable="PATH" - value=":/usr/sfw/bin:/usr/ccs/bin" - type="append" -/> - -<source -url="http://encapsrcdist/mirror/m4/m4-1.4.4.tar.gz - http://mirror.opensysadmin.com/m4/m4-1.4.4.tar.gz - http://ftp.gnu.org/gnu/m4/m4-1.4.4.tar.gz" -> - -</source> - -<prepackage type="set"> -test -d var || mkdir var -test -d var/encap || mkdir var/encap -touch var/encap/${ENCAP_PKGNAME} -</prepackage> - -<encapinfo> -description m4 - GNU implementation of the traditional Unix macro processor -</encapinfo> - -</encap_profile> -EOF - -if [ -f m4-fake ]; then rm m4-fake; fi -cat > m4-fake << EOF -#!/bin/sh -cat \$4 -EOF -chmod 755 m4-fake - -CURDIR="`pwd`" - -printf "Environment variables:\n" \ - >> ${ENCAP_PKGNAME}.log -env >> ${ENCAP_PKGNAME}.log - -printf "\nsrcdir:|%s| pwd:|%s| \$0:|%s|\n" "${srcdir}" "`pwd`" "$0" \ - >> ${ENCAP_PKGNAME}.log - -printf "\n%s :\n" "`ls -l ${ENCAP_PKGNAME}.ep`" \ - >> ${ENCAP_PKGNAME}.log -cat ${ENCAP_PKGNAME}.ep >> ${ENCAP_PKGNAME}.log - -printf "\n\n%s :\n" "`ls -l m4-fake`" \ - >> ${ENCAP_PKGNAME}.log -cat m4-fake >> ${ENCAP_PKGNAME}.log - -printf "\n${MKENCAP} -m ${CURDIR}/m4-fake -b -DUP ${ENCAP_PKGNAME}.ep :\n" \ - >> ${ENCAP_PKGNAME}.log -( ${MKENCAP} -m ${CURDIR}/m4-fake -b -DUP ${ENCAP_PKGNAME}.ep || true ) \ - >> ${ENCAP_PKGNAME}.log 2>&1 - -printf "\n${MKENCAP} -m ${CURDIR}/m4-fake -b -T ${ENCAP_PKGNAME}.ep :\n" \ - >> ${ENCAP_PKGNAME}.log -( ${MKENCAP} -m ${CURDIR}/m4-fake -b -T ${ENCAP_PKGNAME}.ep || true ) \ - >> ${ENCAP_PKGNAME}.log 2>&1 - -printf "\n${MKENCAP} -m ${CURDIR}/m4-fake -b -CBI ${ENCAP_PKGNAME}.ep :\n" \ - >> ${ENCAP_PKGNAME}.log -( ${MKENCAP} -m ${CURDIR}/m4-fake -b -CBI ${ENCAP_PKGNAME}.ep ) \ - >> ${ENCAP_PKGNAME}.log 2>&1 - -rm m4-fake >> ${ENCAP_PKGNAME}.log 2>&1 -rm ${ENCAP_PKGNAME}.ep >> ${ENCAP_PKGNAME}.log 2>&1 - -exit 0 |