aboutsummaryrefslogtreecommitdiffstats
path: root/testing/usbip/APKBUILD
blob: 846a62f3c8264d49b024f6e50e8e6a35c3cd8de7 (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
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=usbip
pkgver=0.1.7
pkgrel=1
pkgdesc="A general USB device sharing system over IP network"
url="http://usbip.sourceforge.net/"
arch="all"
license="GPL"
depends=""
depends_dev="sysfsutils-dev automake autoconf libtool glib-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
	rm "$pkgdir"/usr/lib/*.la
}

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