Port packages with Android dependencies to new androidenv
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, requireFile, p7zip, jre, libusb1, platformTools, gtk2, glib, libXtst }:
|
||||
{ stdenv, requireFile, p7zip, jre, libusb1, platform-tools, gtk2, glib, libXtst }:
|
||||
|
||||
# TODO:
|
||||
#
|
||||
@@ -29,8 +29,8 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
ln -s ${platformTools}/platform-tools/adb x10flasher_lib/adb.linux
|
||||
ln -s ${platformTools}/platform-tools/fastboot x10flasher_lib/fastboot.linux
|
||||
ln -s ${platform-tools}/libexec/android-sdk/platform-tools/adb x10flasher_lib/adb.linux
|
||||
ln -s ${platform-tools}/libexec/android-sdk/platform-tools/fastboot x10flasher_lib/fastboot.linux
|
||||
ln -s ${libusb1.out}/lib/libusb-1.0.so.0 ./x10flasher_lib/linux/lib32/libusbx-1.0.so
|
||||
|
||||
chmod +x x10flasher_lib/unyaffs.linux.x86 x10flasher_lib/bin2elf x10flasher_lib/bin2sin
|
||||
|
||||
Reference in New Issue
Block a user