mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
new package:
- add libusb
This commit is contained in:
parent
c603d44cad
commit
10ef0207ff
19
packages/sysutils/libusb/build
Executable file
19
packages/sysutils/libusb/build
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
|
||||||
|
cd $PKG_BUILD
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-static \
|
||||||
|
--disable-log \
|
||||||
|
--disable-debug-log \
|
||||||
|
--disable-examples-build \
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
7
packages/sysutils/libusb/install
Executable file
7
packages/sysutils/libusb/install
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/lib
|
||||||
|
cp -PR $PKG_BUILD/$1/.libs/libusb*.so* $INSTALL/usr/lib
|
||||||
|
|
1
packages/sysutils/libusb/url
Normal file
1
packages/sysutils/libusb/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://freefr.dl.sourceforge.net/sourceforge/libusb/libusb-1.0.1.tar.bz2
|
Loading…
x
Reference in New Issue
Block a user