summaryrefslogtreecommitdiff
path: root/data/nail
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/nail
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/nail')
-rw-r--r--data/nail/make.sh3
-rw-r--r--data/nail/strip.diff11
2 files changed, 13 insertions, 1 deletions
diff --git a/data/nail/make.sh b/data/nail/make.sh
index 99b10fe47..0e3f56bee 100644
--- a/data/nail/make.sh
+++ b/data/nail/make.sh
@@ -1,4 +1,5 @@
pkg:extract
cd *
-make all install PREFIX=/usr SYSCONFDIR=/etc DESTDIR=/home/saurik/telesphoreo/dest/nail UCBINSTALL=/usr/bin/install STRIP=arm-apple-darwin-strip CC=arm-apple-darwin-gcc
+pkg:patch
+make all install PREFIX=/usr SYSCONFDIR=/etc DESTDIR="${PKG_DEST}" UCBINSTALL=/usr/bin/install CC="${PKG_TARG}-gcc"
pkg: ln -s mailx /usr/bin/mail
diff --git a/data/nail/strip.diff b/data/nail/strip.diff
new file mode 100644
index 000000000..374d46565
--- /dev/null
+++ b/data/nail/strip.diff
@@ -0,0 +1,11 @@
+diff -r -u mailx-12.3/Makefile mailx-12.3+iPhone/Makefile
+--- mailx-12.3/Makefile 2007-07-15 11:39:54.000000000 +0000
++++ mailx-12.3+iPhone/Makefile 2008-04-04 20:47:33.000000000 +0000
+@@ -102,7 +102,6 @@
+ install: all
+ test -d $(DESTDIR)$(BINDIR) || mkdir -p $(DESTDIR)$(BINDIR)
+ $(UCBINSTALL) -c mailx $(DESTDIR)$(BINDIR)/mailx
+- $(STRIP) $(DESTDIR)$(BINDIR)/mailx
+ test -d $(DESTDIR)$(MANDIR)/man1 || mkdir -p $(DESTDIR)$(MANDIR)/man1
+ $(UCBINSTALL) -c -m 644 mailx.1 $(DESTDIR)$(MANDIR)/man1/mailx.1
+ test -d $(DESTDIR)$(SYSCONFDIR) || mkdir -p $(DESTDIR)$(SYSCONFDIR)