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