summaryrefslogtreecommitdiff
path: root/testing/udpcast/APKBUILD
blob: 58b0605df0be616fa913626c0ba13c5f89cb6b0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# 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="GPL-2.0"
depends=""
depends_dev=""
makedepends="$depends_dev linux-headers m4 perl"
install=""
subpackages="$pkgname-doc $pkgname-dev"
source="https://www.udpcast.linux.lu/download/udpcast-$pkgver.tar.gz
	console.patch
	"

builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare || return 1
	update_config_guess || return 1
}

build() {
	cd "$builddir"
	./configure --prefix=/usr || return 1
        make || return 1
}

package() {
	cd "$builddir"
        make DESTDIR="$pkgdir" install || return 1
}

md5sums="b9b67a577ca5659a93bcb9e43f298fb2  udpcast-20120424.tar.gz
ec69737cfb30c87265eabfec8c7abe04  console.patch"
sha256sums="ce9090ef80b6035a744a9b5ac335e61c99baa92c39ff53277266fbfcb836445a  udpcast-20120424.tar.gz
56112c12c0bd74c0844ff33f73a943dca31fbb9cd9859e842f169a969ea99d1e  console.patch"
sha512sums="b16a1d3215cbefba1e4d6bb0b38f4715e476c41ddc93fa1a38c5e707af786f4a97badd1eea494f7838f276f370af414d8379db04a14b9b3ff32a1318f16db33d  udpcast-20120424.tar.gz
7abfcf317b5985f680258abc913a48cfd21a26f77625780e57d93960f7efeb0f214ce4d4188bd75cedb9dccac5a5fe9befed2044e3df3b0e8228ac6e0663c41c  console.patch"