diff options
author | Jay Christopherson <jaychris@gmail.com> | 2016-04-08 17:25:25 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-12 14:24:37 +0000 |
commit | addd7bac86749f75d20d5b431774d3c84e23bb94 (patch) | |
tree | a9618ef77aaba0df51a9194e45eaa751cd02caf8 | |
parent | d6d64546568aae6acf69657ad870723add72a16f (diff) | |
download | aports-addd7bac86749f75d20d5b431774d3c84e23bb94.tar.bz2 aports-addd7bac86749f75d20d5b431774d3c84e23bb94.tar.xz |
testing/udpcast: new aport
https://www.udpcast.linux.lu/index.html
UDP-base File Transfer Tool
-rw-r--r-- | testing/udpcast/APKBUILD | 43 | ||||
-rw-r--r-- | testing/udpcast/patch/console.patch | 10 |
2 files changed, 53 insertions, 0 deletions
diff --git a/testing/udpcast/APKBUILD b/testing/udpcast/APKBUILD new file mode 100644 index 0000000000..05f6ab84da --- /dev/null +++ b/testing/udpcast/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: +# Maintainer: Jay Christopherson <jaychris@gmail.com> +pkgname=udpcast +pkgver=20120424 +pkgrel=0 +pkgdesc="Port of UDPcast file transfer tool" +url="https://www.udpcast.linux.lu/index.html" +arch="all" +license="GPL2" +depends="musl" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="https://www.udpcast.linux.lu/download/udpcast-20120424.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" + patch -p0 < ../../patch/console.patch + ./configure --prefix=/usr || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + + +md5sums="b9b67a577ca5659a93bcb9e43f298fb2 udpcast-20120424.tar.gz" +sha256sums="ce9090ef80b6035a744a9b5ac335e61c99baa92c39ff53277266fbfcb836445a udpcast-20120424.tar.gz" +sha512sums="b16a1d3215cbefba1e4d6bb0b38f4715e476c41ddc93fa1a38c5e707af786f4a97badd1eea494f7838f276f370af414d8379db04a14b9b3ff32a1318f16db33d udpcast-20120424.tar.gz" diff --git a/testing/udpcast/patch/console.patch b/testing/udpcast/patch/console.patch new file mode 100644 index 0000000000..8cb7d0768e --- /dev/null +++ b/testing/udpcast/patch/console.patch @@ -0,0 +1,10 @@ +--- console.c ++++ console.c.new +@@ -3,6 +3,7 @@ + #include <stdio.h> + #include <errno.h> + #include <string.h> ++#include <sys/select.h> + + #include "console.h" + #include "util.h" |