diff options
Diffstat (limited to 'unmaintained/lrzsz')
-rw-r--r-- | unmaintained/lrzsz/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/unmaintained/lrzsz/APKBUILD b/unmaintained/lrzsz/APKBUILD new file mode 100644 index 0000000000..782c7a2f9d --- /dev/null +++ b/unmaintained/lrzsz/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=lrzsz +pkgver=0.12.20 +pkgrel=0 +pkgdesc="xmodem, ymodem and zmodem file transfer protocols" +url="http://www.ohse.de/uwe/software/lrzsz.html" +arch="all" +license="GPL2" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://www.ohse.de/uwe/releases/$pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + + # make install tries to remove stuff from /usr/bin + sed -i -e '/rm -f $(bindir)/d' src/Makefile.in +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --program-transform-name=s/l// + make -j1 +} + +package() { + cd "$_builddir" + make -j1 DESTDIR="$pkgdir" install +} + +md5sums="b5ce6a74abc9b9eb2af94dffdfd372a4 lrzsz-0.12.20.tar.gz" |