usbip: fixed scm build and repository path
This commit is contained in:
parent
eea3e116f7
commit
c7dfc8d91b
3 changed files with 15 additions and 3 deletions
|
@ -6,3 +6,5 @@ require usbip
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
PLATFORMS="~amd64"
|
PLATFORMS="~amd64"
|
||||||
|
|
||||||
|
WORK="${WORK}/src"
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright 2008 Daniel Mierswa <impulze@impulze.org>
|
# Copyright 2008 Daniel Mierswa <impulze@impulze.org>
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
SCM_REPOSITORY="https://${PN}.svn.sourceforge.net/svnroot/${PN}/linux"
|
SCM_REPOSITORY="https://${PN}.svn.sourceforge.net/svnroot/${PN}/obsolete/linux"
|
||||||
|
|
||||||
require usbip scm-svn
|
require usbip scm-svn
|
||||||
|
|
||||||
|
@ -9,3 +9,15 @@ DOWNLOADS=""
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
PLATFORMS="~amd64"
|
PLATFORMS="~amd64"
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,8 +28,6 @@ UPSTREAM_RELEASE_NOTES="${UPSTREAM_CHANGELOG}"
|
||||||
DEFAULT_SRC_CONFIGURE_PARAMS+=( '--with-usbids-dir=/usr/share/misc' '--disable-usbids-install' )
|
DEFAULT_SRC_CONFIGURE_PARAMS+=( '--with-usbids-dir=/usr/share/misc' '--disable-usbids-install' )
|
||||||
DEFAULT_SRC_CONFIGURE_OPTION_WITHS+=( 'tcpd tcp-wrappers' )
|
DEFAULT_SRC_CONFIGURE_OPTION_WITHS+=( 'tcpd tcp-wrappers' )
|
||||||
|
|
||||||
WORK="${WORK}/src"
|
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
edo sed \
|
edo sed \
|
||||||
-e "/^AM_CFLAGS = /s:= := -DUSBIDS_FILE='\"@USBIDS_DIR@/usb.ids\"' :" \
|
-e "/^AM_CFLAGS = /s:= := -DUSBIDS_FILE='\"@USBIDS_DIR@/usb.ids\"' :" \
|
||||||
|
|
Loading…
Add table
Reference in a new issue