lrzsz: set relative symlinks; set mandir properly.

This commit is contained in:
Juan RP 2013-03-18 17:10:30 +01:00
parent fde3af1b49
commit 50050391f1
2 changed files with 8 additions and 8 deletions

View File

@ -5,7 +5,7 @@
d=$(srcdir); \
test -f $(distdir)/$$file \
- || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+ || ln -fs $$d/$$file $(distdir)/$$file 2> /dev/null \
+ || ln -rfs $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file; \
done
canit.o: canit.c zglobal.h ../config.h zmodem.h ../lib/getopt.h
@ -14,19 +14,19 @@
install-exec-local:
rm -f $(DESTDIR)/$(bindir)/`echo lsb | sed -e '$(transform)'`
- ln $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
+ ln -s $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
+ ln -rs $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
$(DESTDIR)/$(bindir)/`echo lsb |sed -e '$(transform)'`
rm -f $(bindir)/`echo lsx | sed -e '$(transform)'`
- ln $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
+ ln -s $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
+ ln -rs $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
$(DESTDIR)/$(bindir)/`echo lsx |sed -e '$(transform)'`
rm -f $(bindir)/`echo lrb | sed -e '$(transform)'`
- ln $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
+ ln -s $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
+ ln -rs $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
$(DESTDIR)/$(bindir)/`echo lrb |sed -e '$(transform)'`
rm -f $(bindir)/`echo lrx | sed -e '$(transform)'`
- ln $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
+ ln -s $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
+ ln -rs $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
$(DESTDIR)/$(bindir)/`echo lrx |sed -e '$(transform)'`
# rm -f $(bindir)/`echo lrzszbug | sed -e '$(transform)'`
# ln $(bindir)/`echo lrzszbug |sed -e '$(transform)'` \

View File

@ -1,8 +1,8 @@
# Template build file for 'lrzsz'.
pkgname=lrzsz
version=0.12.20
revision=1
short_desc="unix communication package providing the XMODEM, YMODEM ZMODEM file transfer protocols"
revision=2
short_desc="Unix communication package providing the XMODEM, YMODEM ZMODEM file transfer protocols"
maintainer="pancake <pancake@nopcode.org>"
license="GPL-3"
homepage="http://ohse.de/uwe/software/lrzsz.html"
@ -10,7 +10,7 @@ distfiles="http://ohse.de/uwe/releases/$pkgname-$version.tar.gz"
checksum=c28b36b14bddb014d9e9c97c52459852f97bd405f89113f30bee45ed92728ff1
do_configure() {
./configure --prefix=/usr
./configure --prefix=/usr --mandir=/usr/share/man
}
do_build() {