summaryrefslogtreecommitdiff
path: root/package/audiofile/audiofile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/audiofile/audiofile.mk')
-rw-r--r--package/audiofile/audiofile.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/audiofile/audiofile.mk b/package/audiofile/audiofile.mk
new file mode 100644
index 000000000..a49cc3e64
--- /dev/null
+++ b/package/audiofile/audiofile.mk
@@ -0,0 +1,19 @@
+#############################################################
+#
+# audiofile
+#
+#############################################################
+
+AUDIOFILE_VERSION = 0.3.3
+AUDIOFILE_SITE = http://audiofile.68k.org
+AUDIOFILE_INSTALL_STAGING = YES
+AUDIOFILE_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
+
+# Useless and needs alsa-lib
+define AUDIOFILE_DISABLE_EXAMPLES
+ $(SED) 's/examples//' $(@D)/Makefile.in
+endef
+
+AUDIOFILE_POST_PATCH_HOOKS += AUDIOFILE_DISABLE_EXAMPLES
+
+$(eval $(call AUTOTARGETS))