-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clang needs to get its cctools path passed directly for the hid build to succeed. Make gperf a permanent external dependency. Remove pcsc from depends.
- Loading branch information
1 parent
d2f9a4c
commit 5c234cb
Showing
8 changed files
with
138 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package=eudev | ||
$(package)_version=v3.2.6 | ||
$(package)_download_path=https://github.com/gentoo/eudev/archive/ | ||
$(package)_file_name=$($(package)_version).tar.gz | ||
$(package)_sha256_hash=a96ecb8637667897b8bd4dee4c22c7c5f08b327be45186e912ce6bc768385852 | ||
|
||
define $(package)_set_vars | ||
$(package)_config_opts=--disable-gudev --disable-introspection --disable-hwdb --disable-manpages | ||
endef | ||
|
||
define $(package)_config_cmds | ||
$($(package)_autoconf) | ||
endef | ||
|
||
define $(package)_build_cmd | ||
$(MAKE) | ||
endef | ||
|
||
define $(package)_preprocess_cmds | ||
cd $($(package)_build_subdir); autoreconf -f -i | ||
endef | ||
|
||
define $(package)_stage_cmds | ||
$(MAKE) DESTDIR=$($(package)_staging_dir) install | ||
endef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package=hidapi-darwin | ||
$(package)_version=0.8.0-rc1 | ||
$(package)_download_path=https://github.com/signal11/hidapi/archive | ||
$(package)_file_name=hidapi-$($(package)_version).tar.gz | ||
$(package)_sha256_hash=3c147200bf48a04c1e927cd81589c5ddceff61e6dac137a605f6ac9793f4af61 | ||
|
||
define $(package)_set_vars | ||
$(package)_config_opts=--enable-static | ||
$(package)_config_opts+=--prefix=$(host_prefix) | ||
endef | ||
|
||
define $(package)_config_cmds | ||
./bootstrap &&\ | ||
$($(package)_autoconf) $($(package)_config_opts) RANLIB="$(host_prefix)/native/bin/x86_64-apple-darwin11-ranlib" AR="$(host_prefix)/native/bin/x86_64-apple-darwin11-ar" | ||
endef | ||
|
||
define $(package)_build_cmds | ||
$(MAKE) | ||
endef | ||
|
||
define $(package)_stage_cmds | ||
$(MAKE) DESTDIR=$($(package)_staging_dir) install | ||
endef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package=hidapi-linux | ||
$(package)_version=0.8.0-rc1 | ||
$(package)_download_path=https://github.com/signal11/hidapi/archive | ||
$(package)_file_name=hidapi-$($(package)_version).tar.gz | ||
$(package)_sha256_hash=3c147200bf48a04c1e927cd81589c5ddceff61e6dac137a605f6ac9793f4af61 | ||
$(package)_dependencies=libusb eudev | ||
|
||
define $(package)_set_vars | ||
$(package)_config_opts=--enable-static | ||
$(package)_config_opts+=--prefix=$(host_prefix) | ||
$(package)_config_opts+=libudev_LIBS="-L$(host_prefix)/lib -ludev" | ||
$(package)_config_opts+=libudev_CFLAGS=-I$(host_prefix)/include | ||
$(package)_config_opts+=libusb_LIBS="-L$(host_prefix)/lib -lusb-1.0" | ||
$(package)_config_opts+=libusb_CFLAGS=-I$(host_prefix)/include/libusb-1.0 | ||
endef | ||
|
||
define $(package)_config_cmds | ||
./bootstrap &&\ | ||
$($(package)_autoconf) $($(package)_config_opts) | ||
endef | ||
|
||
define $(package)_build_cmds | ||
$(MAKE) | ||
endef | ||
|
||
define $(package)_stage_cmds | ||
$(MAKE) DESTDIR=$($(package)_staging_dir) install | ||
endef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package=hidapi | ||
$(package)_version=0.8.0-rc1 | ||
$(package)_download_path=https://github.com/signal11/hidapi/archive | ||
$(package)_file_name=$(package)-$($(package)_version).tar.gz | ||
$(package)_sha256_hash=3c147200bf48a04c1e927cd81589c5ddceff61e6dac137a605f6ac9793f4af61 | ||
|
||
define $(package)_set_vars | ||
$(package)_config_opts=--enable-static | ||
$(package)_config_opts+=--prefix=$(host_prefix) | ||
endef | ||
|
||
define $(package)_config_cmds | ||
./bootstrap &&\ | ||
$($(package)_autoconf) $($(package)_config_opts) | ||
endef | ||
|
||
define $(package)_build_cmds | ||
$(MAKE) | ||
endef | ||
|
||
define $(package)_stage_cmds | ||
$(MAKE) DESTDIR=$($(package)_staging_dir) install | ||
endef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package=libusb | ||
$(package)_version=1.0.9 | ||
$(package)_download_path=http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.9/ | ||
$(package)_file_name=$(package)-$($(package)_version).tar.bz2 | ||
$(package)_sha256_hash=e920eedc2d06b09606611c99ec7304413c6784cba6e33928e78243d323195f9b | ||
|
||
define $(package)_preprocess_cmds | ||
autoreconf -i | ||
endef | ||
|
||
define $(package)_set_vars | ||
$(package)_config_opts=--disable-shared | ||
$(package)_config_opts_linux=--with-pic | ||
endef | ||
|
||
define $(package)_config_cmds | ||
cp -f $(BASEDIR)/config.guess config.guess &&\ | ||
cp -f $(BASEDIR)/config.sub config.sub &&\ | ||
$($(package)_autoconf) | ||
endef | ||
|
||
define $(package)_build_cmd | ||
$(MAKE) | ||
endef | ||
|
||
define $(package)_stage_cmds | ||
$(MAKE) DESTDIR=$($(package)_staging_dir) install | ||
endef | ||
|
||
define $(package)_postprocess_cmds cp -f lib/libusb-1.0.a lib/libusb.a | ||
endef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.