Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from zear/opendingux-2014.05
libshake: Added package
- Loading branch information
Showing
3 changed files
with
33 additions
and
0 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,6 @@ | ||
config BR2_PACKAGE_LIBSHAKE | ||
bool "libshake" | ||
help | ||
A basic haptic library using the Linux Force Feedback API. | ||
|
||
https://github.com/zear/libShake |
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,26 @@ | ||
############################################################# | ||
# | ||
# libshake | ||
# | ||
############################################################# | ||
LIBSHAKE_VERSION = v0.2.0 | ||
LIBSHAKE_SITE = $(call github,zear,libShake,$(LIBSHAKE_VERSION)) | ||
LIBSHAKE_LICENSE = MIT | ||
LIBSHAKE_LICENSE_FILES = LICENSE.txt | ||
LIBSHAKE_INSTALL_STAGING = YES | ||
|
||
LIBSHAKE_MAKE_ENV = CC="$(TARGET_CC)" PREFIX=/usr | ||
|
||
define LIBSHAKE_BUILD_CMDS | ||
$(LIBSHAKE_MAKE_ENV) $(MAKE) -C $(@D) | ||
endef | ||
|
||
define LIBSHAKE_INSTALL_STAGING_CMDS | ||
$(LIBSHAKE_MAKE_ENV) DESTDIR="$(STAGING_DIR)" $(MAKE) -C $(@D) install | ||
endef | ||
|
||
define LIBSHAKE_INSTALL_TARGET_CMDS | ||
$(LIBSHAKE_MAKE_ENV) DESTDIR="$(TARGET_DIR)" $(MAKE) -C $(@D) install-lib | ||
endef | ||
|
||
$(eval $(generic-package)) |