summaryrefslogtreecommitdiff
path: root/data/srelay
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-04-06 10:28:29 +0000
committerJay Freeman <saurik@saurik.com>2008-04-06 10:28:29 +0000
commitd699a01fabaa04a1aad60f6ca5777f82ee24839a (patch)
tree1eb62bad23b14a0877c5b9171f2a5f9358c8d592 /data/srelay
parent8a49e427447f40fdd43fc4b5f513b166dd639e2a (diff)
Drastic, sweeping modifications to support iPhone 1.2.0/2.0.
git-svn-id: http://svn.telesphoreo.org/trunk@199 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/srelay')
-rw-r--r--data/srelay/make.sh7
-rw-r--r--data/srelay/strip.diff12
2 files changed, 16 insertions, 3 deletions
diff --git a/data/srelay/make.sh b/data/srelay/make.sh
index accfe0144..03a3e0119 100644
--- a/data/srelay/make.sh
+++ b/data/srelay/make.sh
@@ -1,7 +1,8 @@
-tar -zxvf "${PKG_DATA}/srelay-0.4.6.tar.gz"
-cd srelay-0.4.6
+pkg:extract
+cd *
pkg:patch
autoconf
pkg:configure
make
-pkg:usrbin srelay
+pkg: mkdir -p /usr/bin
+pkg: cp -a srelay /usr/bin
diff --git a/data/srelay/strip.diff b/data/srelay/strip.diff
new file mode 100644
index 000000000..93d118b8c
--- /dev/null
+++ b/data/srelay/strip.diff
@@ -0,0 +1,12 @@
+diff -ru srelay-0.4.6/configure.in srelay-0.4.6+iPhone/configure.in
+--- srelay-0.4.6/configure.in 2003-04-14 05:36:15.000000000 +0000
++++ srelay-0.4.6+iPhone/configure.in 2008-04-05 05:51:44.000000000 +0000
+@@ -24,7 +24,7 @@
+ esac
+
+ CFLAGS="$CFLAGS -O2 -Wall"
+-LDFLAGS="$LDFLAGS -s"
++LDFLAGS="$LDFLAGS"
+
+ dnl Local libralies.
+ if test -d /usr/local/lib; then