summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/brutefir/Makefile34
-rw-r--r--package/brutefir/patches/patch-Makefile25
2 files changed, 59 insertions, 0 deletions
diff --git a/package/brutefir/Makefile b/package/brutefir/Makefile
new file mode 100644
index 000000000..fc70d0b97
--- /dev/null
+++ b/package/brutefir/Makefile
@@ -0,0 +1,34 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= brutefir
+PKG_VERSION:= 1.0m
+PKG_RELEASE:= 1
+PKG_HASH:= 23b80500fc8687be338bc2654ecc509eccc06fe9372815361b65ed9b1807ccca
+PKG_DESCR:= convulution engine
+PKG_SECTION:= mm/audio
+PKG_DEPENDS:= fftw
+PKG_BUILDDEP:= flex-host fftw
+PKG_URL:= http://www.ludd.luth.se/~torger/brutefir.html
+PKG_SITES:= http://www.ludd.luth.se/~torger/files/
+
+# if downloaded package is not ending with .tar.xz use following
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
+
+MAKE_ENV+= FLEX=$(STAGING_HOST_DIR)/usr/bin/flex
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,BRUTEFIR,brutefir,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+CONFIG_STYLE= manual
+
+brutefir-install:
+ $(INSTALL_DIR) $(IDIR_BRUTEFIR)/usr/bin
+ $(INSTALL_DIR) $(IDIR_BRUTEFIR)/usr/lib/brutefir
+ $(INSTALL_BIN) $(WRKINST)/usr/local/bin/brutefir \
+ $(IDIR_BRUTEFIR)/usr/bin
+ $(CP) $(WRKINST)/usr/local/lib $(IDIR_BRUTEFIR)/usr/lib
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk
diff --git a/package/brutefir/patches/patch-Makefile b/package/brutefir/patches/patch-Makefile
new file mode 100644
index 000000000..60e70f0bc
--- /dev/null
+++ b/package/brutefir/patches/patch-Makefile
@@ -0,0 +1,25 @@
+--- brutefir-1.0m.orig/Makefile 2013-11-29 15:55:01.000000000 +0200
++++ brutefir-1.0m/Makefile 2015-07-25 21:37:39.948001421 +0200
+@@ -17,17 +17,17 @@ FFTW_LIB = -lfftw3 -lfftw3f
+
+ ###################################
+ # Binaries
+-FLEX = flex
+-LD = ld
+-CC = gcc
+-AS = as
++#FLEX = flex
++#LD = ld
++#CC = gcc
++#AS = as
+
+ ###################################
+ # Flags
+ CC_WARN = -Wall -Wpointer-arith -Wshadow \
+ -Wcast-align -Wwrite-strings -Wstrict-prototypes \
+ -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
+-CC_FLAGS = $(DEFINE) -O2
++CC_FLAGS = $(DEFINE) $(CFLAGS)
+ CC_FPIC = -fPIC
+ LD_SHARED = -shared
+