summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-12-16 21:53:18 +0100
committerKoen Kooi <koen@openembedded.org>2008-12-16 21:53:18 +0100
commit72b39d002c5f3a9d4e6d70ba6abfe85d4ea69fed (patch)
tree059bf4f586fae7a36f031cf7aee2fdde83d5278e
parentc6c9ec01e824d26898f7276ffb8c5ba6e4a251c2 (diff)
libusb1: add 1.0.0 release, libusb is EOL
* the libusb site says "As of December 2008, libusb-1.0 is the current stable branch. Developers are encouraged to port their applications."
-rw-r--r--conf/checksums.ini8
-rw-r--r--packages/libusb/libusb-compat_0.1.0.bb36
-rw-r--r--packages/libusb/libusb1_1.0.0.bb29
3 files changed, 73 insertions, 0 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index 82b8369f00..bec639b2f4 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -12722,6 +12722,10 @@ sha256=d112f79489d5deabc0cbb48c6192353d488d9e62c28752eda091f585f2e41176
md5=f28e7ae610147a057e481bc731749bc5
sha256=d112f79489d5deabc0cbb48c6192353d488d9e62c28752eda091f585f2e41176
+[http://downloads.sourceforge.net/libusb/libusb-1.0.0.tar.bz2]
+md5=df2447c23750ef2b4a314200feacc2ee
+sha256=c9bdc5820bc283dcfefba4d4f632c9083adffe5a06c21e089ee123209d229ecf
+
[http://downloads.sourceforge.net/libusb/libusb-compat-0.1.0-beta1.tar.bz2]
md5=3d9f7c3966d24c6e2d58becac96e4e27
sha256=9365108d71cecb78055de4df6eeb2fadf0fe9143ef105bcb6934dcf391983a49
@@ -12738,6 +12742,10 @@ sha256=4ab03b0d1d41db6a5c4e10c6dd819ad90876e712fd66a2de2b824a2fd3ce7dee
md5=1fd5b9457e662531a48993191c1dfb64
sha256=4ab03b0d1d41db6a5c4e10c6dd819ad90876e712fd66a2de2b824a2fd3ce7dee
+[http://downloads.sourceforge.net/libusb/libusb-compat-0.1.0.tar.bz2]
+md5=652e1d9e6c6912fd924a5ad204f6d48b
+sha256=69ad5d62946885a60368381a3354b8fd19597bc6fc9ee25b4598977771429b8d
+
[http://downloads.sourceforge.net/libvisual/libvisual-0.1.3.tar.gz]
md5=e70e91d2e90831c0eb78944b6a9605ef
sha256=fc04f2f2bae4b3eef7eb331330e2e3fd336d1894dbf4cae631c8b635622cdd52
diff --git a/packages/libusb/libusb-compat_0.1.0.bb b/packages/libusb/libusb-compat_0.1.0.bb
new file mode 100644
index 0000000000..887765133a
--- /dev/null
+++ b/packages/libusb/libusb-compat_0.1.0.bb
@@ -0,0 +1,36 @@
+DESCRIPTION = "libusb is a library to provide userspace \
+access to USB devices."
+HOMEPAGE = "http://libusb.sf.net"
+SECTION = "libs"
+LICENSE = "LGPL"
+
+PE = "1"
+PR = "r0"
+
+DEPENDS = "libusb1"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-compat-${PV}.tar.bz2 \
+ "
+
+inherit autotools pkgconfig binconfig lib_package
+
+PARALLEL_MAKE = ""
+EXTRA_OECONF = "--disable-build-docs"
+
+export CXXFLAGS += "-lstdc++ -I${STAGING_INCDIR}"
+
+do_stage() {
+ autotools_stage_all
+ install -m 755 ${S}/libusb-config ${STAGING_BINDIR}
+ # can we get rid of that? wouldn't a sed statement do as well?
+ sed -i 's:\-L${libdir} :-L${STAGING_LIBDIR} :' ${STAGING_BINDIR}/libusb-config
+
+ if [ "${STAGING_BINDIR}" != "${STAGING_BINDIR_CROSS}" ]; then
+ install -d ${STAGING_BINDIR_CROSS}/
+ mv ${STAGING_BINDIR}/libusb-config ${STAGING_BINDIR_CROSS}/libusb-config
+ fi
+}
+
+PACKAGES =+ "libusbpp"
+
+FILES_libusbpp = "${libdir}/libusbpp*.so.*"
diff --git a/packages/libusb/libusb1_1.0.0.bb b/packages/libusb/libusb1_1.0.0.bb
new file mode 100644
index 0000000000..8450a7c946
--- /dev/null
+++ b/packages/libusb/libusb1_1.0.0.bb
@@ -0,0 +1,29 @@
+DESCRIPTION = "libusb is a library to provide userspace \
+access to USB devices."
+HOMEPAGE = "http://libusb.sf.net"
+SECTION = "libs"
+LICENSE = "LGPL"
+
+PR = "r0"
+
+SRC_URI = "\
+ ${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \
+"
+S = "${WORKDIR}/libusb-${PV}"
+
+inherit autotools pkgconfig binconfig lib_package
+
+PARALLEL_MAKE = ""
+EXTRA_OECONF = "--disable-build-docs"
+
+export CXXFLAGS += "-lstdc++ -I${STAGING_INCDIR}"
+
+LIBTOOL = "${HOST_SYS}-libtool"
+EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
+
+do_stage() {
+ autotools_stage_all
+}
+
+PACKAGES =+ "libusbpp"
+FILES_libusbpp = "${libdir}/libusbpp*.so.*"