2008-12-03 19:35:24 +01:00
|
|
|
# Copyright 2008 Daniel Mierswa <impulze@impulze.org>
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2011-10-03 12:31:36 +02:00
|
|
|
SCM_REPOSITORY="https://${PN}.svn.sourceforge.net/svnroot/${PN}/obsolete/linux"
|
2008-12-03 19:35:24 +01:00
|
|
|
|
2009-05-26 18:43:10 +02:00
|
|
|
require usbip scm-svn
|
2008-12-03 19:35:24 +01:00
|
|
|
|
|
|
|
DOWNLOADS=""
|
|
|
|
SLOT="0"
|
2011-10-03 12:32:19 +02:00
|
|
|
PLATFORMS="~amd64 ~x86"
|
2009-07-29 12:55:27 +02:00
|
|
|
|
2011-10-03 12:31:36 +02:00
|
|
|
DEFAULT_SRC_CONFIGURE_PARAMS+=( --includedir=/usr/include )
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
edo sed \
|
|
|
|
-e "/^AM_CFLAGS = /s:= := -DUSBIDS_FILE='\"@USBIDS_DIR@/usb.ids\"' :" \
|
|
|
|
-i Makefile.am
|
|
|
|
edo sed \
|
|
|
|
-e '/usbip_stub_driver_name =/s:usbip-host:usbip:' \
|
|
|
|
-i libsrc/stub_driver.c
|
|
|
|
autotools_src_prepare
|
|
|
|
}
|
|
|
|
|