liquid-dsp: fix build, for real this time

This commit is contained in:
Đoàn Trần Công Danh 2021-02-23 08:01:27 +07:00
parent c38a28a297
commit cad746a7a2
2 changed files with 51 additions and 1 deletions

View file

@ -0,0 +1,51 @@
Index: makefile.in
===================================================================
--- makefile.in.orig
+++ makefile.in
@@ -47,10 +47,10 @@ VERSION := @PACKAGE_VERSION@
BUGREPORT := @PACKAGE_BUGREPORT@
# paths
-srcdir := @srcdir@
-libdir := @libdir@
prefix := @prefix@
exec_prefix := @exec_prefix@
+srcdir := @srcdir@
+libdir := @libdir@
include_dirs := . include
# programs
@@ -1188,10 +1188,10 @@ help:
install: all
@echo "installing..."
@echo ""
- mkdir -p $(DESTDIR)$(exec_prefix)$(libdir)
+ mkdir -p $(DESTDIR)$(libdir)
mkdir -p $(DESTDIR)$(prefix)/include/liquid
- install -m 644 -p $(SHARED_LIB) libliquid.a $(DESTDIR)$(exec_prefix)$(libdir)
- ln -s $(SHARED_LIB) $(DESTDIR)$(exec_prefix)$(libdir)/libliquid.so
+ install -m 644 -p $(SHARED_LIB) libliquid.a $(DESTDIR)$(libdir)
+ ln -s $(SHARED_LIB) $(DESTDIR)$(libdir)/libliquid.so
install -m 644 -p $(addprefix include/,$(headers_install)) $(DESTDIR)$(prefix)/include/liquid
@echo ""
@echo "---------------------------------------------------------"
@@ -1201,7 +1201,7 @@ install: all
@echo " libraries by running 'ldconfig' to make the shared"
@echo " object available. You might also need to modify your"
@echo " LD_LIBRARY_PATH environment variable to include the"
- @echo " directory $(DESTDIR)$(exec_prefix)"
+ @echo " directory $(DESTDIR)"
@echo ""
@echo " Please report bugs to $(BUGREPORT)"
@echo "---------------------------------------------------------"
@@ -1214,8 +1214,8 @@ install: all
uninstall:
@echo "uninstalling..."
$(RM) $(addprefix $(DESTDIR)$(prefix)/include/liquid/, $(headers_install))
- $(RM) $(DESTDIR)$(exec_prefix)$(libdir)/libliquid.a
- $(RM) $(DESTDIR)$(exec_prefix)$(libdir)/$(SHARED_LIB)
+ $(RM) $(DESTDIR)$(libdir)/libliquid.a
+ $(RM) $(DESTDIR)$(libdir)/$(SHARED_LIB)
@echo "done."
##

View file

@ -3,7 +3,6 @@ pkgname=liquid-dsp
version=1.3.1
revision=1
build_style=gnu-configure
configure_args="--exec-prefix="
hostmakedepends="automake"
makedepends="fftw-devel"
short_desc="Signal processing library for software-defined radios (SDR)"