Changeset 28512


Ignore:
Timestamp:
2011-10-22T01:00:13+02:00 (6 years ago)
Author:
nico
Message:

[packages] usbip: cleanup dependencies (closes: #8230), fix usb.ids location

Location:
packages/net/usbip
Files:
1 added
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • packages/net/usbip/Makefile

    r27746 r28512  
    11# 
    2 # Copyright (C) 2010 OpenWrt.org 
     2# Copyright (C) 2010-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1111PKG_NAME:=usbip 
    1212PKG_VERSION:=0.1.7 
    13 PKG_RELEASE:=1 
     13PKG_RELEASE:=2 
    1414 
    1515PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    1717PKG_MD5SUM:=d1094b6d4449787864f8be001639232c 
    1818 
    19 PKG_FIXUP:=libtool 
     19PKG_BUILD_DEPENDS:=glib2 sysfsutils 
     20PKG_FIXUP:=libtool autoreconf 
    2021PKG_INSTALL:=1 
    2122 
     
    2627  TITLE:=USB-over-IP 
    2728  URL:=http://usbip.sourceforge.net/ 
    28   DEPENDS:=@!LINUX_2_4 @USB_SUPPORT +glib2 +sysfsutils 
     29  DEPENDS:=@!LINUX_2_4 @USB_SUPPORT 
    2930  MAINTAINER:=Nuno Goncalves <nunojpg@gmail.com> 
    3031endef 
     
    3940$(call Package/usbip/Default) 
    4041  TITLE+= (common) 
    41   DEPENDS+= +glib2 +sysfsutils +libwrap +kmod-usbip 
     42  DEPENDS+= +libsysfs +libwrap +kmod-usbip 
    4243endef 
    4344 
     
    4546$(call Package/usbip/Default) 
    4647  TITLE+= (client) 
    47   DEPENDS+= usbip +kmod-usbip-client 
     48  DEPENDS+= usbip +glib2 +kmod-usbip-client 
    4849endef 
    4950 
     
    5152$(call Package/usbip/Default) 
    5253  TITLE+= (server) 
    53   DEPENDS+= usbip +kmod-usbip-server 
     54  DEPENDS+= usbip +glib2 +kmod-usbip-server 
    5455endef 
    5556 
     
    7778define KernelPackage/usbip-client 
    7879$(call KernelPackage/usbip/Default) 
    79   SUBMENU:=USB Support 
    8080  TITLE+= (kernel client driver) 
    8181  DEPENDS+= kmod-usbip 
     
    8787define KernelPackage/usbip-server 
    8888$(call KernelPackage/usbip/Default) 
    89   SUBMENU:=USB Support 
    9089  TITLE+= (kernel host driver) 
    9190  DEPENDS+= kmod-usbip 
     
    107106 
    108107CFLAGS+="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" 
    109  
    110 define Build/Prepare 
    111 $(call Build/Prepare/Default) 
    112         (cd $(PKG_BUILD_DIR)/src; autoreconf -v --install || exit 1 ) 
    113 endef 
    114108 
    115109define Build/Compile/kmod 
     
    135129                $(PKG_INSTALL_DIR)/usr/lib/libusbip.so.* \ 
    136130                $(1)/usr/lib/ 
    137         $(INSTALL_DIR) $(1)/usr/share/hwdata 
     131        $(INSTALL_DIR) $(1)/usr/share/usbip 
    138132        $(CP) \ 
    139133                $(PKG_INSTALL_DIR)/usr/share/usbip/usb.ids \ 
    140                 $(1)/usr/share/hwdata/ 
     134                $(1)/usr/share/usbip/ 
    141135endef 
    142136 
Note: See TracChangeset for help on using the changeset viewer.