mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
new package:
- add package libusb
This commit is contained in:
parent
675e13cddd
commit
b175cbcc7b
21
packages/sysutils/libusb/build
Executable file
21
packages/sysutils/libusb/build
Executable file
@ -0,0 +1,21 @@
|
||||
#!/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
|
||||
|
||||
#cd - && $SCRIPTS/build libusb-compat
|
8
packages/sysutils/libusb/install
Executable file
8
packages/sysutils/libusb/install
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/$1/.libs/libusb*.so* $INSTALL/usr/lib
|
||||
|
||||
# $SCRIPTS/install libusb-compat
|
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