diff options
author | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2006-09-04 22:22:23 +0000 |
---|---|---|
committer | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2006-09-04 22:22:23 +0000 |
commit | 826d4cdd4a0b8b6baf4b90de16deeeabac0de9e9 (patch) | |
tree | baf6622265fde7b62eaf175fedd8e6c52f2b89c2 /encap/src/encap-profiles | |
parent | 5b45586ea81dc5d97a39d6ffa62a612a17057d6d (diff) | |
download | bcfg2-826d4cdd4a0b8b6baf4b90de16deeeabac0de9e9.tar.gz bcfg2-826d4cdd4a0b8b6baf4b90de16deeeabac0de9e9.tar.bz2 bcfg2-826d4cdd4a0b8b6baf4b90de16deeeabac0de9e9.zip |
EncapPackages: Add GNU Readline support to python (built-time
requirement only, python links to it statically)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2193 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'encap/src/encap-profiles')
-rw-r--r-- | encap/src/encap-profiles/Makefile | 3 | ||||
-rw-r--r-- | encap/src/encap-profiles/bcfg2-python-2.4.3.ep | 1 | ||||
-rw-r--r-- | encap/src/encap-profiles/bcfg2-readline-5.1.ep | 82 |
3 files changed, 85 insertions, 1 deletions
diff --git a/encap/src/encap-profiles/Makefile b/encap/src/encap-profiles/Makefile index f41834f8c..f16bb693c 100644 --- a/encap/src/encap-profiles/Makefile +++ b/encap/src/encap-profiles/Makefile @@ -30,6 +30,7 @@ BCFG2_PKG_CONFIG := $(basename $(wildcard bcfg2-pkg-config-*.ep)) BCFG2_PYOPENSSL := $(basename $(wildcard bcfg2-pyopenssl-*.ep)) BCFG2_PYREX := $(basename $(wildcard bcfg2-pyrex-*.ep)) BCFG2_PYTHON := $(basename $(wildcard bcfg2-python-[0-9].[0-9]*.ep)) +BCFG2_READLINE := $(basename $(wildcard bcfg2-readline-*.ep)) BCFG2_ZLIB := $(basename $(wildcard bcfg2-zlib-*.ep)) DAEMONTOOLS := $(basename $(wildcard daemontools-[0-9].[0-9]*.ep)) DAEMONTOOLS_DOC := $(basename $(wildcard daemontools-doc-*.ep)) @@ -39,7 +40,7 @@ OSTIARTY := $(basename $(wildcard ostiary-[0-9].[0-9]*.ep)) OSTIARTY_DOC := $(basename $(wildcard ostiary-doc-*.ep)) PATCH := $(basename $(wildcard patch-*.ep)) -sources_ep := $(sort $(BCFG2) $(BCFG2_CHEETAH) $(BCFG2_CHEETAH_DOC) $(BCFG2_GETTEXT) $(BCFG2_LIBICONV) $(BCFG2_LIBXML2) $(BCFG2_LIBXSLT) $(BCFG2_LXML) $(BCFG2_OPENSSL) $(BCFG2_PKG_CONFIG) $(BCFG2_PYOPENSSL) $(BCFG2_PYREX) $(BCFG2_PYTHON) $(BCFG2_ZLIB) $(DAEMONTOOLS) $(DAEMONTOOLS_DOC) $(MAKESELF) $(OSTIARTY) $(OSTIARTY_DOC) $(PATCH)) +sources_ep := $(sort $(BCFG2) $(BCFG2_CHEETAH) $(BCFG2_CHEETAH_DOC) $(BCFG2_GETTEXT) $(BCFG2_LIBICONV) $(BCFG2_LIBXML2) $(BCFG2_LIBXSLT) $(BCFG2_LXML) $(BCFG2_OPENSSL) $(BCFG2_PKG_CONFIG) $(BCFG2_PYOPENSSL) $(BCFG2_PYREX) $(BCFG2_PYTHON) $(BCFG2_READLINE) $(BCFG2_ZLIB) $(DAEMONTOOLS) $(DAEMONTOOLS_DOC) $(MAKESELF) $(OSTIARTY) $(OSTIARTY_DOC) $(PATCH)) sources_sh := $(sort $(BCFG2_LIBGCC) $(BCFG2_LIBSTDCXX) $(M4)) diff --git a/encap/src/encap-profiles/bcfg2-python-2.4.3.ep b/encap/src/encap-profiles/bcfg2-python-2.4.3.ep index 277e80b75..e8a39a38b 100644 --- a/encap/src/encap-profiles/bcfg2-python-2.4.3.ep +++ b/encap/src/encap-profiles/bcfg2-python-2.4.3.ep @@ -12,6 +12,7 @@ <prereq package="bcfg2-libiconv-1.9.2" /> <prereq package="bcfg2-gettext-0.14.5" /> <prereq package="bcfg2-pkg-config-0.20" /> +<prereq package="bcfg2-readline-5.1" /> <prereq package="bcfg2-openssl-0.9.8b" /> <environment diff --git a/encap/src/encap-profiles/bcfg2-readline-5.1.ep b/encap/src/encap-profiles/bcfg2-readline-5.1.ep new file mode 100644 index 000000000..ec2e99630 --- /dev/null +++ b/encap/src/encap-profiles/bcfg2-readline-5.1.ep @@ -0,0 +1,82 @@ +<?xml version="1.0"?> + +<!-- $Id$ --> + +<encap_profile + profile_ver="1.0" + pkgspec="bcfg2-readline-5.1" +> + +<prereq package="m4-1.4.4" /> +<prereq package="bcfg2-libiconv-1.9.2" /> +<prereq package="bcfg2-gettext-0.14.5" /> +<prereq package="bcfg2-pkg-config-0.20" /> + +<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 + +<environment + variable="LDFLAGS" +PLATFORM_IF_MATCH(linux) + value="-L/usr/local/lib/bcfg2/lib -Wl,-rpath,/usr/local/lib/bcfg2/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://www.pobox.com/users/dclark/mirror/readline/readline-5.1.tar.gz + ftp://ftp.cwru.edu/pub/bash/readline-5.1.tar.gz" +> + +<configure> +./configure \ + --prefix="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2" +</configure> + +</source> + +<prepackage type="set"> +# 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 readline - lets users edit command lines as they are typed in +</encapinfo> + +</encap_profile> |