summaryrefslogtreecommitdiffstats
path: root/testing/usbip/APKBUILD
blob: f17855a6839086ca3c816173e49a365c71617b47 (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
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=usbip
pkgver=0.1.7
pkgrel=0
pkgdesc="A general USB device sharing system over IP network"
url="http://usbip.sourceforge.net/"
arch="all"
license="GPL"
depends=
depends_dev="sysfsutils-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver/src
build() {
	cd "$_builddir"
		./autogen.sh || return 1
		 ./configure --prefix=/usr
	make || return 1
}

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

md5sums="d1094b6d4449787864f8be001639232c  usbip-0.1.7.tar.gz"