summaryrefslogtreecommitdiff
path: root/zlib/build
diff options
context:
space:
mode:
Diffstat (limited to 'zlib/build')
-rw-r--r--zlib/build18
1 files changed, 18 insertions, 0 deletions
diff --git a/zlib/build b/zlib/build
new file mode 100644
index 0000000..151a238
--- /dev/null
+++ b/zlib/build
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+./configure \
+ --prefix=/usr
+
+gmake
+gmake DESTDIR=$1 install
+
+mkdir $1/../proto64
+gmake clean
+./configure \
+ --prefix=/usr \
+ --64
+
+gmake
+gmake DESTDIR=$1/../proto64 install
+
+cp -r $1/../proto64/usr/lib $1/usr/lib/64