]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/mailx/mailx/install.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / mailx / mailx / install.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
6 --- mailx-8.1.2-0.20031014cvs.orig/Makefile~install
7 +++ mailx-8.1.2-0.20031014cvs.orig/Makefile
8 @@ -26,6 +26,11 @@
9  EFILES=        mail.rc
10  MFILES=        mail.1
11  
12 +bindir=/usr/bin
13 +mandir=/usr/share/man
14 +sysconfdir=/etc
15 +datadir=/usr/share
16 +
17  all: $(PROG)
18  
19  beforeinstall:
20 @@ -52,7 +57,9 @@
21         rm -f $(PROG) $(OBJS) *~ core
22   
23  install:
24 -       install -p -c -m 755 $(PROG) $(DESTDIR)/usr/bin/
25 -       install -p -c -m 644 $(MFILES) $(DESTDIR)/usr/share/man/man1/
26 -       cd misc && install -p -c -m 644 $(EFILES) $(DESTDIR)/etc/
27 -       cd misc && install -p -c -m 644 $(SFILES) $(DESTDIR)/usr/share/mailx/
28 +       install -d $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 \
29 +                  $(DESTDIR)$(sysconfdir) $(DESTDIR)$(datadir)/mailx
30 +       install -p -c -m 755 $(PROG) $(DESTDIR)$(bindir)/
31 +       install -p -c -m 644 $(MFILES) $(DESTDIR)$(mandir)/man1/
32 +       cd misc && install -p -c -m 644 $(EFILES) $(DESTDIR)$(sysconfdir)/
33 +       cd misc && install -p -c -m 644 $(SFILES) $(DESTDIR)$(datadir)/mailx/