New package: lrzsz 0.12.20.

This commit is contained in:
pancake 2013-03-18 13:30:32 +01:00
parent 8b60327ed7
commit e20c7c1343
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,32 @@
--- src/Makefile.in.orig 2013-03-18 13:25:04.431274094 +0100
+++ src/Makefile.in 2013-03-18 13:25:30.533766161 +0100
@@ -282,7 +282,7 @@
@for file in $(DISTFILES); do \
d=$(srcdir); \
test -f $(distdir)/$$file \
- || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+ || ln -fs $$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
@@ -370,16 +370,16 @@
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)'` \
$(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)'` \
$(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)'` \
$(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)'` \
$(DESTDIR)/$(bindir)/`echo lrx |sed -e '$(transform)'`
# rm -f $(bindir)/`echo lrzszbug | sed -e '$(transform)'`
# ln $(bindir)/`echo lrzszbug |sed -e '$(transform)'` \

12
srcpkgs/lrzsz/template Normal file
View file

@ -0,0 +1,12 @@
# Template build file for 'lrzsz'.
pkgname=lrzsz
version=0.12.20
patch_args="-Np0"
revision=1
build_style=gnu-configure
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"
distfiles="http://ohse.de/uwe/releases/$pkgname-$version.tar.gz"
checksum=c28b36b14bddb014d9e9c97c52459852f97bd405f89113f30bee45ed92728ff1