2007-06-13 12:07:16 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# aumix
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
|
|
|
AUMIX_VERSION=2.8
|
|
|
|
AUMIX_SOURCE=aumix-$(AUMIX_VERSION).tar.bz2
|
|
|
|
AUMIX_SITE=http://jpj.net/~trevor/aumix
|
|
|
|
AUMIX_DIR=$(BUILD_DIR)/aumix-$(AUMIX_VERSION)
|
|
|
|
AUMIX_CAT:=$(BZCAT)
|
|
|
|
|
|
|
|
$(DL_DIR)/$(AUMIX_SOURCE):
|
2009-01-16 12:42:52 +01:00
|
|
|
$(call DOWNLOAD,$(AUMIX_SITE),$(AUMIX_SOURCE))
|
2007-06-13 12:07:16 +02:00
|
|
|
|
|
|
|
$(AUMIX_DIR)/.unpacked: $(DL_DIR)/$(AUMIX_SOURCE)
|
|
|
|
$(AUMIX_CAT) $(DL_DIR)/$(AUMIX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
2008-03-06 18:54:27 +01:00
|
|
|
touch $@
|
2007-06-13 12:07:16 +02:00
|
|
|
|
|
|
|
$(AUMIX_DIR)/.configured: $(AUMIX_DIR)/.unpacked
|
|
|
|
(cd $(AUMIX_DIR); rm -rf config.cache; \
|
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
2007-06-27 14:01:27 +02:00
|
|
|
$(TARGET_CONFIGURE_ARGS) \
|
2009-10-01 21:24:42 +02:00
|
|
|
./configure $(QUIET) \
|
2007-06-13 12:07:16 +02:00
|
|
|
--target=$(GNU_TARGET_NAME) \
|
|
|
|
--host=$(GNU_TARGET_NAME) \
|
|
|
|
--build=$(GNU_HOST_NAME) \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--libdir=$(STAGING_DIR)/lib \
|
2007-08-12 00:26:56 +02:00
|
|
|
--includedir=$(STAGING_DIR)/usr/include \
|
2007-06-13 12:07:16 +02:00
|
|
|
--without-gtk \
|
|
|
|
--without-gtk1 \
|
|
|
|
--without-alsa \
|
|
|
|
--without-gpm \
|
|
|
|
--without-sysmouse \
|
|
|
|
$(DISABLE_NLS) \
|
2007-08-21 21:20:18 +02:00
|
|
|
)
|
2008-03-06 18:54:27 +01:00
|
|
|
touch $@
|
2007-06-13 12:07:16 +02:00
|
|
|
|
|
|
|
$(AUMIX_DIR)/src/aumix: $(AUMIX_DIR)/.configured
|
|
|
|
$(MAKE) CC=$(TARGET_CC) -C $(AUMIX_DIR)
|
|
|
|
|
2008-09-18 10:42:56 +02:00
|
|
|
$(TARGET_DIR)/usr/bin/aumix: $(AUMIX_DIR)/src/aumix
|
2007-06-13 12:07:16 +02:00
|
|
|
$(MAKE) -C $(AUMIX_DIR) DESTDIR=$(TARGET_DIR) install
|
|
|
|
|
2009-09-02 17:02:02 +02:00
|
|
|
aumix: ncurses $(TARGET_DIR)/usr/bin/aumix
|
2007-06-13 12:07:16 +02:00
|
|
|
|
|
|
|
aumix-source: $(DL_DIR)/$(AUMIX_SOURCE)
|
|
|
|
|
|
|
|
aumix-clean:
|
|
|
|
-$(MAKE) -C $(AUMIX_DIR) clean
|
|
|
|
|
|
|
|
aumix-dirclean:
|
|
|
|
rm -rf $(AUMIX_DIR)
|
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# Toplevel Makefile options
|
|
|
|
#
|
|
|
|
#############################################################
|
2008-12-08 09:15:27 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_AUMIX),y)
|
2007-06-13 12:07:16 +02:00
|
|
|
TARGETS+=aumix
|
|
|
|
endif
|