From e7df5afeb9634a0d95499049efb5c4887069290d Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sat, 15 Nov 2008 21:33:07 +0000 Subject: package/audio: rename audio category to multimedia Prepare for the merge of audio and video packages. Many packages cannot properly be assigned to either audio or video, because they have support for both (libogg, mplayer, vlc). Signed-off-by: Markus Heidelberg --- package/multimedia/aumix/Config.in | 12 ++++++++ package/multimedia/aumix/aumix.mk | 63 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 package/multimedia/aumix/Config.in create mode 100644 package/multimedia/aumix/aumix.mk (limited to 'package/multimedia/aumix') diff --git a/package/multimedia/aumix/Config.in b/package/multimedia/aumix/Config.in new file mode 100644 index 000000000..3d3208250 --- /dev/null +++ b/package/multimedia/aumix/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_AUMIX + bool "aumix" + select BR2_PACKAGE_NCURSES + help + aumix is a small, easy-to-use program to control the mixer + of your sound card. It runs in text mode using the ncurses + library, or from the command line (non-interactively). + It can read default settings from a file, and it can also + automatically save and restore the mixer settings at shutdown + and boot. + + http://jpj.net/~trevor/aumix.html diff --git a/package/multimedia/aumix/aumix.mk b/package/multimedia/aumix/aumix.mk new file mode 100644 index 000000000..4ee7b0a0a --- /dev/null +++ b/package/multimedia/aumix/aumix.mk @@ -0,0 +1,63 @@ +############################################################# +# +# 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): + $(WGET) -P $(DL_DIR) $(AUMIX_SITE)/$(AUMIX_SOURCE) + +$(AUMIX_DIR)/.unpacked: $(DL_DIR)/$(AUMIX_SOURCE) + $(AUMIX_CAT) $(DL_DIR)/$(AUMIX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + touch $@ + +$(AUMIX_DIR)/.configured: $(AUMIX_DIR)/.unpacked + (cd $(AUMIX_DIR); rm -rf config.cache; \ + $(TARGET_CONFIGURE_OPTS) \ + $(TARGET_CONFIGURE_ARGS) \ + ./configure \ + --target=$(GNU_TARGET_NAME) \ + --host=$(GNU_TARGET_NAME) \ + --build=$(GNU_HOST_NAME) \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libdir=$(STAGING_DIR)/lib \ + --includedir=$(STAGING_DIR)/usr/include \ + --without-gtk \ + --without-gtk1 \ + --without-alsa \ + --without-gpm \ + --without-sysmouse \ + $(DISABLE_NLS) \ + ) + touch $@ + +$(AUMIX_DIR)/src/aumix: $(AUMIX_DIR)/.configured + $(MAKE) CC=$(TARGET_CC) -C $(AUMIX_DIR) + +$(TARGET_DIR)/usr/bin/aumix: $(AUMIX_DIR)/src/aumix + $(MAKE) -C $(AUMIX_DIR) DESTDIR=$(TARGET_DIR) install + +aumix: uclibc ncurses $(TARGET_DIR)/usr/bin/aumix + +aumix-source: $(DL_DIR)/$(AUMIX_SOURCE) + +aumix-clean: + -$(MAKE) -C $(AUMIX_DIR) clean + +aumix-dirclean: + rm -rf $(AUMIX_DIR) +############################################################# +# +# Toplevel Makefile options +# +############################################################# +ifeq ($(strip $(BR2_PACKAGE_AUMIX)),y) +TARGETS+=aumix +endif -- cgit v1.2.3