From patchwork Sun Aug 12 23:53:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 176811 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 6F5722C0087 for ; Mon, 13 Aug 2012 09:56:20 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8C4AE8BAE0; Sun, 12 Aug 2012 23:56:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Td6kAebRlCyy; Sun, 12 Aug 2012 23:56:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 1FE0E8BC6B; Sun, 12 Aug 2012 23:55:59 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id DBCFD8F798 for ; Sun, 12 Aug 2012 23:54:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D443F8693A for ; Sun, 12 Aug 2012 23:54:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VWKFhX08Fpxz for ; Sun, 12 Aug 2012 23:54:29 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp.smtpout.orange.fr (smtp10.smtpout.orange.fr [80.12.242.132]) by whitealder.osuosl.org (Postfix) with ESMTP id 848FA8946E for ; Sun, 12 Aug 2012 23:54:28 +0000 (UTC) Received: from treguer.bzh.lan ([90.32.165.248]) by mwinf5d33 with ME id lzuQ1j0055MspoA03zuTHg; Mon, 13 Aug 2012 01:54:27 +0200 From: "Yann E. MORIN" To: buildroot@busybox.net Date: Mon, 13 Aug 2012 01:53:54 +0200 Message-Id: <1344815664-28138-6-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1344815664-28138-1-git-send-email-yann.morin.1998@free.fr> References: <1344815664-28138-1-git-send-email-yann.morin.1998@free.fr> Cc: Thomas Petazzoni , "Yann E. MORIN" Subject: [Buildroot] [PATCH 06/36] package/usbredir: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: "Yann E. MORIN" --- package/Config.in | 1 + package/usbredir/Config.in | 15 +++++++++++++++ package/usbredir/usbredir.mk | 26 ++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 0 deletions(-) create mode 100644 package/usbredir/Config.in create mode 100644 package/usbredir/usbredir.mk diff --git a/package/Config.in b/package/Config.in index ef411e3..4264d48 100644 --- a/package/Config.in +++ b/package/Config.in @@ -438,6 +438,7 @@ source "package/libupnp/Config.in" source "package/libvncserver/Config.in" source "package/nss-mdns/Config.in" source "package/ortp/Config.in" +source "package/usbredir/Config.in" source "package/zeromq/Config.in" endmenu diff --git a/package/usbredir/Config.in b/package/usbredir/Config.in new file mode 100644 index 0000000..5d9560a --- /dev/null +++ b/package/usbredir/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_USBREDIR + bool "usbredir" + depends on BR2_PACKAGE_LIBUSB + help + usbredir is the name of a network protocol for sending usb device + traffic over a network connection. It is also the name of the + software package offering a parsing library, a usbredirhost library + and several utilities implementing this protocol. + + Note: currently, only the library is installed, not the utilities. + + http://www.spice-space.org/page/UsbRedir + +comment "usbredir requires libusb" + depends on !BR2_PACKAGE_LIBUSB diff --git a/package/usbredir/usbredir.mk b/package/usbredir/usbredir.mk new file mode 100644 index 0000000..a70a60b --- /dev/null +++ b/package/usbredir/usbredir.mk @@ -0,0 +1,26 @@ +#----------------------------------------------------------------------------- +# Package description + +USBREDIR_VERSION = 0.4.3 +USBREDIR_SOURCE = usbredir-$(USBREDIR_VERSION).tar.bz2 +USBREDIR_SITE = http://spice-space.org/download/usbredir +USBREDIR_LICENSE = LGPLv2.1+ +USBREDIR_LICENSE_FILES = COPYING.LIB +# Note: the executables are GPLv2+, but we do not use them +USBREDIR_INSTALL_STAGING = YES +USBREDIR_DEPENDENCIES = libusb + +#---------------------------------------------------------------------------- +# Package build process + +USBREDIR_DEPENDENCIES += host-pkg-config + +# It's much easier to remove unwanted files after-the-fact, rather than trying +# to install only what we want. Sad-and-dull life, but life nonetheless... +# Note: do not ofrget to update the license, above, if you keep the server. +define USBREDIR_POST_INSTALL_TARGET_RM_SERVER + rm -f $(TARGET_DIR)/usr/sbin/usbredirserver +endef +USBREDIR_POST_INSTALL_TARGET_HOOKS += USBREDIR_POST_INSTALL_TARGET_RM_SERVER + +$(eval $(autotools-package))