usbutils: replaced libusbx with libusb.
This commit is contained in:
parent
b637b297e1
commit
d1ab406c20
@ -20,7 +20,7 @@ maintainer=\
|
|||||||
|
|
||||||
requires=\
|
requires=\
|
||||||
(
|
(
|
||||||
'libusbx/default'
|
'libusb/default'
|
||||||
)
|
)
|
||||||
|
|
||||||
configure()
|
configure()
|
||||||
@ -46,7 +46,7 @@ host_install()
|
|||||||
export PKG_CONFIG="${cfg_dir_toolchain}/bin/pkg-config"
|
export PKG_CONFIG="${cfg_dir_toolchain}/bin/pkg-config"
|
||||||
export PKG_CONFIG_PATH="$cfg_dir_toolchain_sysroot/usr/lib/pkgconfig"
|
export PKG_CONFIG_PATH="$cfg_dir_toolchain_sysroot/usr/lib/pkgconfig"
|
||||||
$cmd_make prefix="$cfg_dir_toolchain_sysroot/usr" install &&
|
$cmd_make prefix="$cfg_dir_toolchain_sysroot/usr" install &&
|
||||||
( test -e "${cfg_dir_toolchain_sysroot}/usr/share/pkgconfig/usbutils.pc" && mv "${cfg_dir_toolchain_sysroot}/usr/share/pkgconfig/usbutils.pc" ${PKG_CONFIG_PATH} )
|
( test -e "${cfg_dir_toolchain_sysroot}/usr/share/pkgconfig/usbutils.pc" && mv "${cfg_dir_toolchain_sysroot}/usr/share/pkgconfig/usbutils.pc" ${PKG_CONFIG_PATH} )
|
||||||
rmdir --ignore-fail-on-non-empty "${cfg_dir_toolchain_sysroot}/usr/share/pkgconfig"
|
rmdir --ignore-fail-on-non-empty "${cfg_dir_toolchain_sysroot}/usr/share/pkgconfig"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user