mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
new package:
- add package libnih
This commit is contained in:
parent
1ebc9e4650
commit
ea6a387f8a
22
packages/devel/libnih-host/build
Executable file
22
packages/devel/libnih-host/build
Executable file
@ -0,0 +1,22 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build dbus-host
|
||||
$SCRIPTS/unpack libnih
|
||||
|
||||
setup_toolchain host
|
||||
|
||||
cd $BUILD/libnih*
|
||||
|
||||
mkdir -p objdir-host
|
||||
cd objdir-host
|
||||
|
||||
../configure --enable-static \
|
||||
--disable-shared
|
||||
|
||||
make
|
||||
|
||||
mkdir -p $ROOT/$TOOLCHAIN/bin
|
||||
cp -f nih-dbus-tool/nih-dbus-tool $ROOT/$TOOLCHAIN/bin
|
26
packages/devel/libnih/build
Executable file
26
packages/devel/libnih/build
Executable file
@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build dbus
|
||||
$SCRIPTS/build libnih-host
|
||||
|
||||
export NIH_DBUS_TOOL="$ROOT/$TOOLCHAIN/bin/nih-dbus-tool"
|
||||
|
||||
cd $BUILD/$1*
|
||||
|
||||
mkdir -p objdir-target
|
||||
cd objdir-target
|
||||
|
||||
../configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--enable-static \
|
||||
--disable-shared \
|
||||
--disable-nls \
|
||||
--enable-threading
|
||||
|
||||
make
|
||||
|
||||
$MAKEINSTALL
|
1
packages/devel/libnih/url
Normal file
1
packages/devel/libnih/url
Normal file
@ -0,0 +1 @@
|
||||
http://upstart.ubuntu.com/download/libnih/1.0/libnih-1.0.2.tar.gz
|
Loading…
x
Reference in New Issue
Block a user