aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lrzsz/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/lrzsz/APKBUILD')
-rw-r--r--testing/lrzsz/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/lrzsz/APKBUILD b/testing/lrzsz/APKBUILD
new file mode 100644
index 0000000000..41585a6314
--- /dev/null
+++ b/testing/lrzsz/APKBUILD
@@ -0,0 +1,41 @@
+# 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
+}
+
+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"