|
@ -4,6 +4,11 @@ |
|
|
#
|
|
|
#
|
|
|
################################################################################
|
|
|
################################################################################
|
|
|
|
|
|
|
|
|
|
|
|
STREAMRIPPER_VERSION = ni-git |
|
|
|
|
|
STREAMRIPPER_DIR = $(NI_STREAMRIPPER) |
|
|
|
|
|
STREAMRIPPER_SOURCE = $(NI_STREAMRIPPER) |
|
|
|
|
|
STREAMRIPPER_SITE = https://github.com/neutrino-images |
|
|
|
|
|
|
|
|
STREAMRIPPER_DEPENDENCIES = libvorbisidec libmad glib2 |
|
|
STREAMRIPPER_DEPENDENCIES = libvorbisidec libmad glib2 |
|
|
|
|
|
|
|
|
STREAMRIPPER_AUTORECONF = YES |
|
|
STREAMRIPPER_AUTORECONF = YES |
|
@ -18,13 +23,19 @@ STREAMRIPPER_CONF_OPTS = \ |
|
|
--with-included-argv=yes \
|
|
|
--with-included-argv=yes \
|
|
|
--with-included-libmad=no |
|
|
--with-included-libmad=no |
|
|
|
|
|
|
|
|
streamripper: $(STREAMRIPPER_DEPENDENCIES) | $(TARGET_DIR) |
|
|
define STREAMRIPPER_INSTALL_BINARY |
|
|
$(REMOVE)/$(NI_STREAMRIPPER) |
|
|
$(INSTALL_EXEC) -D $(PKG_BUILD_DIR)/streamripper $(TARGET_bindir)/streamripper |
|
|
tar -C $(SOURCE_DIR) --exclude-vcs -cp $(NI_STREAMRIPPER) | tar -C $(BUILD_DIR) -x |
|
|
endef |
|
|
$(CHDIR)/$(NI_STREAMRIPPER); \
|
|
|
STREAMRIPPER_PRE_FOLLOWUP_HOOKS += STREAMRIPPER_INSTALL_BINARY |
|
|
|
|
|
|
|
|
|
|
|
define STREAMRIPPER_INSTALL_SCRIPT |
|
|
|
|
|
$(INSTALL_EXEC) -D $(PKG_FILES_DIR)/streamripper.sh $(TARGET_bindir)/streamripper.sh |
|
|
|
|
|
endef |
|
|
|
|
|
STREAMRIPPER_TARGET_FINALIZE_HOOKS += STREAMRIPPER_INSTALL_SCRIPT |
|
|
|
|
|
|
|
|
|
|
|
streamripper: | $(TARGET_DIR) |
|
|
|
|
|
$(call PREPARE) |
|
|
|
|
|
$(CHDIR)/$($(PKG)_DIR); \
|
|
|
$(CONFIGURE); \
|
|
|
$(CONFIGURE); \
|
|
|
$(MAKE); \
|
|
|
$(MAKE) |
|
|
$(INSTALL_EXEC) -D streamripper $(TARGET_bindir)/streamripper |
|
|
$(call TARGET_FOLLOWUP) |
|
|
$(INSTALL_EXEC) $(PKG_FILES_DIR)/streamripper.sh $(TARGET_bindir)/ |
|
|
|
|
|
$(REMOVE)/$(NI_STREAMRIPPER) |
|
|
|
|
|
$(TOUCH) |
|
|
|
|
|