]> git.proxmox.com Git - usb-redir.git/commitdiff
Initial import
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 19 Jul 2013 04:49:21 +0000 (06:49 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 19 Jul 2013 05:24:41 +0000 (07:24 +0200)
Debian wheezy comes with a very old version, so we need to backport
version 0.6

Makefile [new file with mode: 0644]
README [new file with mode: 0644]
usbredir-0.6.tar.bz2 [new file with mode: 0644]
usbredir_0.6-2.debian.tar.gz [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..72959d7
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,45 @@
+RELEASE=3.0
+
+PACKAGE=libusbredirparser
+PKGVERSION=0.6
+PKGRELEASE=2
+
+PKGDIR=usbredir-${PKGVERSION}
+PKGSRC=usbredir-${PKGVERSION}.tar.bz2
+DEBSRC=usbredir_${PKGVERSION}-${PKGRELEASE}.debian.tar.gz
+
+ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+DEBS=                                                          \
+       ${PACKAGE}1_${PKGVERSION}-${PKGRELEASE}_${ARCH}.deb     \
+       ${PACKAGE}-dev_${PKGVERSION}-${PKGRELEASE}_${ARCH}.deb
+
+
+all: ${DEBS}
+       echo ${DEBS}
+
+${DEBS}: ${PKGSRC}
+       echo ${DEBS}
+       rm -rf ${PKGDIR} debian
+       tar xf ${PKGSRC}
+       tar xf ${DEBSRC}
+
+       cp -a debian ${PKGDIR}/debian
+       cd ${PKGDIR}; dpkg-buildpackage -rfakeroot -b -us -uc
+
+.PHONY: download
+download:
+       rm -rf ${PKGSRC} ${PKGDIR}
+       git clone git://anongit.freedesktop.org/spice/usbredir ${PKGDIR}
+       cd ${PKGDIR}; ./autogen.sh; make dist
+       mv ${PKGDIR}/${PKGSRC} ${PKGSRC}
+
+distclean: clean
+
+.PHONY: clean
+clean:
+       rm -rf *~ debian *_${ARCH}.deb *.changes *.dsc ${PKGDIR}
+
+.PHONY: dinstall
+dinstall: ${DEBS}
+       dpkg -i ${DEBS}
diff --git a/README b/README
new file mode 100644 (file)
index 0000000..d731322
--- /dev/null
+++ b/README
@@ -0,0 +1,2 @@
+This is a simple backport of the original debian packages to wheezy, but
+we use the latest usbredir sources from git.
\ No newline at end of file
diff --git a/usbredir-0.6.tar.bz2 b/usbredir-0.6.tar.bz2
new file mode 100644 (file)
index 0000000..6b4d7d8
Binary files /dev/null and b/usbredir-0.6.tar.bz2 differ
diff --git a/usbredir_0.6-2.debian.tar.gz b/usbredir_0.6-2.debian.tar.gz
new file mode 100644 (file)
index 0000000..80bda7a
Binary files /dev/null and b/usbredir_0.6-2.debian.tar.gz differ