diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-04-13 21:50:46 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-04-13 21:50:46 +0200 |
commit | b827af3bb41afcf34ac3f6d667e46d902b4731d8 (patch) | |
tree | 65b343da905832dd85940bca98b03f981e9cf6fe /package/multimedia/aumix/aumix.mk | |
parent | 9554403ad0b81f29dd4ee1404de755aa5b72cac5 (diff) | |
parent | 157526cb051ef24de552082c3444bde1a81a40e4 (diff) | |
download | buildroot-novena-b827af3bb41afcf34ac3f6d667e46d902b4731d8.tar.gz buildroot-novena-b827af3bb41afcf34ac3f6d667e46d902b4731d8.zip |
Merge branch 'autotools-conversion' of git://git.busybox.net/~tpetazzoni/git/buildroot
Diffstat (limited to 'package/multimedia/aumix/aumix.mk')
-rw-r--r-- | package/multimedia/aumix/aumix.mk | 60 |
1 files changed, 9 insertions, 51 deletions
diff --git a/package/multimedia/aumix/aumix.mk b/package/multimedia/aumix/aumix.mk index 64fadc0e1..e28a72037 100644 --- a/package/multimedia/aumix/aumix.mk +++ b/package/multimedia/aumix/aumix.mk @@ -7,57 +7,15 @@ 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) +AUMIX_AUTORECONF=YES -$(DL_DIR)/$(AUMIX_SOURCE): - $(call DOWNLOAD,$(AUMIX_SITE),$(AUMIX_SOURCE)) +AUMIX_CONF_OPT = \ + --without-gtk \ + --without-gtk1 \ + --without-alsa \ + --without-gpm \ + --without-sysmouse -$(AUMIX_DIR)/.unpacked: $(DL_DIR)/$(AUMIX_SOURCE) - $(AUMIX_CAT) $(DL_DIR)/$(AUMIX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - - touch $@ +AUMIX_DEPENDENCIES = ncurses -$(AUMIX_DIR)/.configured: $(AUMIX_DIR)/.unpacked - (cd $(AUMIX_DIR); rm -rf config.cache; \ - $(TARGET_CONFIGURE_OPTS) \ - $(TARGET_CONFIGURE_ARGS) \ - ./configure $(QUIET) \ - --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: 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 ($(BR2_PACKAGE_AUMIX),y) -TARGETS+=aumix -endif +$(eval $(call AUTOTARGETS,package/multimedia,aumix)) |