summaryrefslogtreecommitdiffstats
path: root/encap/src/encap-profiles/bcfg2-python-apt-0.5.10.ep
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-08-24 03:21:17 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-08-24 03:21:17 +0000
commit144f1344adf60815c8c57e93b5ed0acf98bbc40f (patch)
treef9035e2b49da8139e99cc858ea1d2939f8a9cdc0 /encap/src/encap-profiles/bcfg2-python-apt-0.5.10.ep
parent12b22256f2430dbdbb59a6119eb7732ba942fca1 (diff)
downloadbcfg2-144f1344adf60815c8c57e93b5ed0acf98bbc40f.tar.gz
bcfg2-144f1344adf60815c8c57e93b5ed0acf98bbc40f.tar.bz2
bcfg2-144f1344adf60815c8c57e93b5ed0acf98bbc40f.zip
EncapPackages: A bunch of changes, including but not limited to:
* Cleaner directory structure * Numerous Makefile improvements * Makefile no longer tied to specific versions of encap packages (except in the case of python-apt, which is distro-specific) * Automatic dependancy generation from encap package files * bcfg2-site pretty much done git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2103 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'encap/src/encap-profiles/bcfg2-python-apt-0.5.10.ep')
-rw-r--r--encap/src/encap-profiles/bcfg2-python-apt-0.5.10.ep8
1 files changed, 6 insertions, 2 deletions
diff --git a/encap/src/encap-profiles/bcfg2-python-apt-0.5.10.ep b/encap/src/encap-profiles/bcfg2-python-apt-0.5.10.ep
index 57ce35310..77955e0de 100644
--- a/encap/src/encap-profiles/bcfg2-python-apt-0.5.10.ep
+++ b/encap/src/encap-profiles/bcfg2-python-apt-0.5.10.ep
@@ -7,6 +7,9 @@
pkgspec="bcfg2-python-apt-0.5.10"
>
+<prereq package="m4-1.4.4" />
+<prereq package="bcfg2-python-2.4.3" />
+
<environment
variable="CC"
value="gcc"
@@ -81,8 +84,9 @@ subdir="python-apt-0.5.10"
</source>
<prepackage type="set">
-mkdir var 2>/dev/null || exit 0
-mkdir var/encap 2>/dev/null || exit 0
+# 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>