summaryrefslogtreecommitdiff
path: root/data/srelay
diff options
context:
space:
mode:
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