summaryrefslogtreecommitdiffstats
path: root/encap/src/encap-profiles/bcfg2-pyrex-0.9.5.1a.ep
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-02-19 06:28:03 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-02-19 06:28:03 +0000
commitcb6d4a3805f4e60de5031381f6eebe14e82db61d (patch)
treed1c797736ba4e85e3a904da1610a29e16d9bff05 /encap/src/encap-profiles/bcfg2-pyrex-0.9.5.1a.ep
parentedf57e0b60f37cc098b5d9450c8f096c09fdfd2c (diff)
downloadbcfg2-cb6d4a3805f4e60de5031381f6eebe14e82db61d.tar.gz
bcfg2-cb6d4a3805f4e60de5031381f6eebe14e82db61d.tar.bz2
bcfg2-cb6d4a3805f4e60de5031381f6eebe14e82db61d.zip
EncapPackages: Version Upgrades
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2841 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'encap/src/encap-profiles/bcfg2-pyrex-0.9.5.1a.ep')
-rw-r--r--encap/src/encap-profiles/bcfg2-pyrex-0.9.5.1a.ep95
1 files changed, 95 insertions, 0 deletions
diff --git a/encap/src/encap-profiles/bcfg2-pyrex-0.9.5.1a.ep b/encap/src/encap-profiles/bcfg2-pyrex-0.9.5.1a.ep
new file mode 100644
index 000000000..61fa558ba
--- /dev/null
+++ b/encap/src/encap-profiles/bcfg2-pyrex-0.9.5.1a.ep
@@ -0,0 +1,95 @@
+<?xml version="1.0"?>
+
+<!-- $Id$ -->
+
+<encap_profile
+ profile_ver="1.0"
+ pkgspec="bcfg2-pyrex-0.9.5.1a"
+>
+
+<prereq package="m4-1.4.4" />
+<prereq package="bcfg2-python-2.4.4" />
+
+<environment
+ variable="CC"
+ value="gcc -static-libgcc"
+ 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
+
+<environment
+ variable="LDFLAGS"
+PLATFORM_IF_MATCH(linux)
+ value="-L/usr/local/lib/bcfg2/lib -Wl,-rpath,/usr/local/lib/bcfg2/lib -YP,/usr/local/lib/bcfg2/lib:/usr/lib:/lib"
+PLATFORM_ELSE_IF_MATCH(aix)
+ value="-L/usr/local/lib/bcfg2/lib -Wl,-blibpath:/usr/local/lib/bcfg2/lib:/usr/lib"
+PLATFORM_ELSE_IF_MATCH(solaris)
+ value="-L/usr/local/lib/bcfg2/lib -R/usr/local/lib/bcfg2/lib:/usr/lib -YP,/usr/local/lib/bcfg2/lib:/usr/lib"
+PLATFORM_ELSE
+PLATFORM_ENDIF
+ type="set"
+/>
+
+<environment
+ variable="CPPFLAGS"
+ value="-I/usr/local/lib/bcfg2/include"
+ type="set"
+/>
+
+<source
+url="http://encapsrcdist/mirror/pyrex/Pyrex-0.9.5.1a.tar.gz
+ http://mirror.opensysadmin.com/pyrex/Pyrex-0.9.5.1a.tar.gz
+ http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/Pyrex-0.9.5.1a.tar.gz"
+>
+
+<configure>
+:
+</configure>
+
+<build>
+/usr/local/lib/bcfg2/bin/python setup.py build \
+--build-base=${builddir}/build
+</build>
+
+<install>
+/usr/local/lib/bcfg2/bin/python setup.py install \
+--prefix=${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2
+</install>
+
+<clean>
+/usr/local/lib/bcfg2/bin/python setup.py clean
+</clean>
+
+</source>
+
+<prepackage type="set">
+chmod -R o+r lib/bcfg2
+# Make "this encap is installed" sentinal file available in /usr/local/var/encap
+test -d var || mkdir var
+test -d var/encap || mkdir var/encap
+touch var/encap/${ENCAP_PKGNAME}
+</prepackage>
+
+<encapinfo>
+description pyrex - a language for writing python extension modules
+</encapinfo>
+
+</encap_profile>