summaryrefslogtreecommitdiffstats
path: root/crypto/util-linux-crypto/PRE_BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/util-linux-crypto/PRE_BUILD')
-rwxr-xr-xcrypto/util-linux-crypto/PRE_BUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/crypto/util-linux-crypto/PRE_BUILD b/crypto/util-linux-crypto/PRE_BUILD
new file mode 100755
index 0000000000..46ed39c77e
--- /dev/null
+++ b/crypto/util-linux-crypto/PRE_BUILD
@@ -0,0 +1,11 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+unpack $SOURCE2 ${MD5[1]} &&
+#zcat $SOURCE_CACHE/$SOURCE2 | patch -p0 &&
+zcat $SOURCE_CACHE/$SOURCE2 | patch -p1 &&
+#cp $SOURCE_CACHE/$SOURCE2 . &&
+#gzip -d $SOURCE2 &&
+if [ "$SELINUX" == "y" ]; then
+ unpack $SOURCE_CACHE/$SOURCE3 ${MD5[2]} &&
+ zcat $SOURCE_CACHE/$SOURCE3 | patch -p1
+fi