summaryrefslogtreecommitdiffstats
path: root/testing/usbip
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2011-05-19 12:59:25 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2011-05-19 12:59:25 +0000
commite43d8cca8f8c9b48fae9562001e7ee8ae3e062bb (patch)
tree3e73d8aaf6d7cae2b31bc179b252d4cd02ce90dc /testing/usbip
parent6047e1bc08c8a837e2380d50eb0e292df7499a5a (diff)
downloadaports-e43d8cca8f8c9b48fae9562001e7ee8ae3e062bb.tar.bz2
aports-e43d8cca8f8c9b48fae9562001e7ee8ae3e062bb.tar.xz
testing/usbip: new apkbuild - Add feature #650 in redmine
Diffstat (limited to 'testing/usbip')
-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"