summaryrefslogtreecommitdiffstats
path: root/package/libsndfile/libsndfile.mk
diff options
context:
space:
mode:
authorDaniel Laird <danieljlaird@hotmail.com>2008-09-05 12:06:50 +0000
committerDaniel Laird <danieljlaird@hotmail.com>2008-09-05 12:06:50 +0000
commit76235a15b37bae9e3c83bc20e9afd49a66e33455 (patch)
tree82f014617a2c1149231675eddd72714d6f7bd659 /package/libsndfile/libsndfile.mk
parent03e3886c012c889611b77df85c5491989c4ebc31 (diff)
downloadbuildroot-novena-76235a15b37bae9e3c83bc20e9afd49a66e33455.tar.gz
buildroot-novena-76235a15b37bae9e3c83bc20e9afd49a66e33455.zip
audio: Move all audio packages into audio subdir
Moved all audio packages into a subdir called audio. I then created a Config.in and made sure that a audio.mk existed. Daniel Laird
Diffstat (limited to 'package/libsndfile/libsndfile.mk')
-rw-r--r--package/libsndfile/libsndfile.mk65
1 files changed, 0 insertions, 65 deletions
diff --git a/package/libsndfile/libsndfile.mk b/package/libsndfile/libsndfile.mk
deleted file mode 100644
index 5a5fcda7c..000000000
--- a/package/libsndfile/libsndfile.mk
+++ /dev/null
@@ -1,65 +0,0 @@
-#############################################################
-#
-# libsndfile
-#
-#############################################################
-LIBSNDFILE_VERSION:=1.0.17
-LIBSNDFILE_SOURCE:=libsndfile-$(LIBSNDFILE_VERSION).tar.gz
-LIBSNDFILE_SITE:=http://www.mega-nerd.com/libsndfile/$(LIBUSB_SOURCE)
-LIBSNDFILE_DIR:=$(BUILD_DIR)/libsndfile-$(LIBSNDFILE_VERSION)
-LIBSNDFILE_BINARY:=src/.libs/libsndfile.so
-LIBSNDFILE_TARGET_BINARY:=usr/lib/libsndfile.so
-
-$(DL_DIR)/$(LIBSNDFILE_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBSNDFILE_SITE)/$(LIBSNDFILE_SOURCE)
-
-$(LIBSNDFILE_DIR)/.unpacked: $(DL_DIR)/$(LIBSNDFILE_SOURCE)
- $(ZCAT) $(DL_DIR)/$(LIBSNDFILE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- toolchain/patch-kernel.sh $(LIBSNDFILE_DIR) package/libsndfile/ \*.patch
- $(CONFIG_UPDATE) $(LIBSNDFILE_DIR)
- touch $@
-
-$(LIBSNDFILE_DIR)/.configured: $(LIBSNDFILE_DIR)/.unpacked
- (cd $(LIBSNDFILE_DIR); rm -f 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 \
- )
- touch $@
-
-$(LIBSNDFILE_DIR)/$(LIBSNDFILE_BINARY): $(LIBSNDFILE_DIR)/.configured
- $(MAKE) CC=$(TARGET_CC) -C $(LIBSNDFILE_DIR)
-
-$(TARGET_DIR)/$(LIBSNDFILE_TARGET_BINARY): $(LIBSNDFILE_DIR)/$(LIBSNDFILE_BINARY)
- $(MAKE) prefix=$(STAGING_DIR)/usr -C $(LIBSNDFILE_DIR) install
- $(MAKE) prefix=$(TARGET_DIR)/usr -C $(LIBSNDFILE_DIR) install
-ifneq ($(BR2_HAVE_MANPAGES),y)
- rm -Rf $(TARGET_DIR)/usr/share/man
- rm -Rf $(STAGING_DIR)/usr/share/man
-endif
-
-libsndfile: uclibc $(TARGET_DIR)/$(LIBSNDFILE_TARGET_BINARY)
-
-libsndfile-source: $(DL_DIR)/$(LIBSNDFILE_SOURCE)
-
-libsndfile-clean:
- $(MAKE) prefix=$(STAGING_DIR)/usr -C $(LIBSNDFILE_DIR) uninstall
- $(MAKE) prefix=$(TARGET_DIR)/usr -C $(LIBSNDFILE_DIR) uninstall
- -$(MAKE) -C $(LIBSNDFILE_DIR) clean
-
-libsndfile-dirclean:
- rm -rf $(LIBSNDFILE_DIR)
-
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(strip $(BR2_PACKAGE_LIBSNDFILE)),y)
-TARGETS+=libsndfile
-endif