summaryrefslogtreecommitdiffstats
path: root/encap/src/encap-profiles/bcfg2-libxml2-2.6.26.ep
diff options
context:
space:
mode:
Diffstat (limited to 'encap/src/encap-profiles/bcfg2-libxml2-2.6.26.ep')
-rw-r--r--encap/src/encap-profiles/bcfg2-libxml2-2.6.26.ep16
1 files changed, 12 insertions, 4 deletions
diff --git a/encap/src/encap-profiles/bcfg2-libxml2-2.6.26.ep b/encap/src/encap-profiles/bcfg2-libxml2-2.6.26.ep
index 318f90787..d76256e59 100644
--- a/encap/src/encap-profiles/bcfg2-libxml2-2.6.26.ep
+++ b/encap/src/encap-profiles/bcfg2-libxml2-2.6.26.ep
@@ -7,6 +7,13 @@
pkgspec="bcfg2-libxml2-2.6.26"
>
+<prereq package="m4-1.4.4" />
+<prereq package="bcfg2-zlib-1.2.3" />
+<prereq package="bcfg2-libiconv-1.9.2" />
+<prereq package="bcfg2-gettext-0.14.5" />
+<prereq package="bcfg2-pkg-config-0.20" />
+<prereq package="bcfg2-python-2.4.3" />
+
<environment
variable="CC"
value="gcc"
@@ -72,15 +79,16 @@ PLATFORM_ENDIF
</source>
<prepackage type="set">
-mkdir bin 2>/dev/null || exit 0
+test -d bin || mkdir bin
ln -sf ../lib/bcfg2/bin/xmllint bin/b2-xmllint
-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>
<encapinfo>
-description Libxml2 - XML C library for the Gnome project
+description libxml2 - XML C library for the Gnome project
</encapinfo>
</encap_profile>