You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1012 B
30 lines
1012 B
################################################################################
|
|
#
|
|
# streamripper
|
|
#
|
|
################################################################################
|
|
|
|
STREAMRIPPER_DEPENDENCIES = libvorbisidec libmad glib2
|
|
|
|
STREAMRIPPER_AUTORECONF = yes
|
|
|
|
STREAMRIPPER_CONF_OPTS = \
|
|
--includedir=$(TARGET_includedir) \
|
|
--datarootdir=$(REMOVE_datarootdir) \
|
|
--with-ogg-includes=$(TARGET_includedir) \
|
|
--with-ogg-libraries=$(TARGET_libdir) \
|
|
--with-vorbis-includes=$(TARGET_includedir) \
|
|
--with-vorbis-libraries=$(TARGET_libdir) \
|
|
--with-included-argv=yes \
|
|
--with-included-libmad=no
|
|
|
|
streamripper: $(STREAMRIPPER_DEPENDENCIES) | $(TARGET_DIR)
|
|
$(REMOVE)/$(NI_STREAMRIPPER)
|
|
tar -C $(SOURCE_DIR) --exclude-vcs -cp $(NI_STREAMRIPPER) | tar -C $(BUILD_DIR) -x
|
|
$(CHDIR)/$(NI_STREAMRIPPER); \
|
|
$(CONFIGURE); \
|
|
$(MAKE); \
|
|
$(INSTALL_EXEC) -D streamripper $(TARGET_bindir)/streamripper
|
|
$(INSTALL_EXEC) $(PKG_FILES_DIR)/streamripper.sh $(TARGET_bindir)/
|
|
$(REMOVE)/$(NI_STREAMRIPPER)
|
|
$(TOUCH)
|
|
|