summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/usbip/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/usbip/APKBUILD b/testing/usbip/APKBUILD
new file mode 100644
index 000000000..f17855a68
--- /dev/null
+++ b/testing/usbip/APKBUILD
@@ -0,0 +1,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"