-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add NeuralRecord * Update neuralrecord
- Loading branch information
Showing
1 changed file
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
###################################### | ||
# | ||
# neuralrecord | ||
# | ||
###################################### | ||
|
||
NEURALRECORD_VERSION = 92d50ec48554256e25b0b5918d3699fabae14f56 | ||
NEURALRECORD_SITE = https://github.com/brummer10/neuralrecord.git | ||
NEURALRECORD_SITE_METHOD = git | ||
NEURALRECORD_BUNDLES = neuralrecord.lv2 | ||
|
||
NEURALRECORD_TARGET_MAKE = $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) | ||
|
||
# needed for git submodules | ||
define NEURALRECORD_EXTRACT_CMDS | ||
rm -rf $(@D) | ||
git clone --recursive $(NEURALRECORD_SITE) $(@D) | ||
(cd $(@D) && \ | ||
git reset --hard $(NEURALRECORD_VERSION) && \ | ||
git submodule update) | ||
touch $(@D)/.stamp_downloaded | ||
endef | ||
|
||
|
||
define NEURALRECORD_BUILD_CMDS | ||
$(NEURALRECORD_TARGET_MAKE) mod | ||
endef | ||
|
||
define NEURALRECORD_INSTALL_TARGET_CMDS | ||
$(NEURALRECORD_TARGET_MAKE) install-mod DESTDIR=$(TARGET_DIR) INSTALL_DIR=/usr/lib/lv2 | ||
endef | ||
|
||
$(eval $(generic-package)) |