]> git.proxmox.com Git - libusb.git/commitdiff
initial commit master
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 6 Dec 2013 17:26:16 +0000 (18:26 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 6 Dec 2013 17:33:44 +0000 (18:33 +0100)
Makefile [new file with mode: 0644]
README [new file with mode: 0644]
libusbx_1.0.17-1.debian.tar.xz [new file with mode: 0644]
libusbx_1.0.17.orig.tar.bz2 [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..46509b3
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,48 @@
+RELEASE=3.1
+
+PACKAGE=libusb-1.0-0
+PKGVERSION=1.0.17
+PKGRELEASE=1
+
+PKGDIR=libusbx-${PKGVERSION}
+PKGSRC=libusbx_${PKGVERSION}.orig.tar.bz2
+DEBSRC=libusbx_${PKGVERSION}-${PKGRELEASE}.debian.tar.xz
+
+ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+DEBS=                                                          \
+       ${PACKAGE}_${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: upload
+upload: ${DEBS}
+       umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw
+       mkdir -p /pve/${RELEASE}/extra
+       rm -f /pve/${RELEASE}/extra/Packages*
+       rm -f /pve/${RELEASE}/extra/${PACKAGE}1_*.deb
+       rm -f /pve/${RELEASE}/extra/${PACKAGE}-dev_*.deb
+       cp ${DEBS} /pve/${RELEASE}/extra
+       cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz
+       umount /pve/${RELEASE}; mount /pve/${RELEASE} -o ro
+
+distclean: clean
+
+.PHONY: clean
+clean:
+       rm -rf *~ debian *.deb *.udeb *.changes *.dsc ${PKGDIR}
+
+.PHONY: dinstall
+dinstall: ${DEBS}
+       dpkg -i ${DEBS}
diff --git a/README b/README
new file mode 100644 (file)
index 0000000..238a5ad
--- /dev/null
+++ b/README
@@ -0,0 +1 @@
+This is a simple backport of the original debian packages to wheezy.
\ No newline at end of file
diff --git a/libusbx_1.0.17-1.debian.tar.xz b/libusbx_1.0.17-1.debian.tar.xz
new file mode 100644 (file)
index 0000000..e631bff
Binary files /dev/null and b/libusbx_1.0.17-1.debian.tar.xz differ
diff --git a/libusbx_1.0.17.orig.tar.bz2 b/libusbx_1.0.17.orig.tar.bz2
new file mode 100644 (file)
index 0000000..bae8a4c
Binary files /dev/null and b/libusbx_1.0.17.orig.tar.bz2 differ