######################################
#
# Makefile for mod-midi-to-cv
#
######################################

# where to find the source code - locally in this case
MOD_MIDI_TO_CV_MONO_SITE_METHOD = local
MOD_MIDI_TO_CV_MONO_SITE = $($(PKG)_PKGDIR)/

# even though this is a local build, we still need a version number
# bump this number if you need to force a rebuild
MOD_MIDI_TO_CV_MONO_VERSION = 3

# dependencies (list of other buildroot packages, separated by space)
MOD_MIDI_TO_CV_MONO_DEPENDENCIES =

# LV2 bundles that this package generates (space separated list)
MOD_MIDI_TO_CV_MONO_BUNDLES = mod-midi-to-cv-mono.lv2

# call make with the current arguments and path. "$(@D)" is the build directory.
MOD_MIDI_TO_CV_MONO_TARGET_MAKE = $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/source


# build command
define MOD_MIDI_TO_CV_MONO_BUILD_CMDS
	$(MOD_MIDI_TO_CV_MONO_TARGET_MAKE)
endef

# install command
define MOD_MIDI_TO_CV_MONO_INSTALL_TARGET_CMDS
	$(MOD_MIDI_TO_CV_MONO_TARGET_MAKE) install DESTDIR=$(TARGET_DIR)
endef


# import everything else from the buildroot generic package
$(eval $(generic-package))
