Commit graph

9 commits

Author SHA1 Message Date
Sergey V. Lobanov
3424e0027d libpri: fix build on macos
libpri can not be built on macos for OpenWrt Linux target due to:
1. Makefile uses `ar` and `ranlib` (without using make variables).
   MacOS system ar and ranlib are not compatible with the objects
   generated by OpenWrt GCC toolchain. This commit adds patch to
   add an ability to redefine `ar` and `ranlib` tools.
   Upstream issue: https://issues.asterisk.org/jira/browse/PRI-188
2. Makefile detects Darwin using `uname -s` and changes build logic
   but it is not need for cross-platfrom build. This commit
   redefines OSARCH=Linux in OpenWrt Makefile
3. After redefining OSARCH=Linux, libpri Makefile uses /sbin/ldconfig
   that does not exist on MacOS. This commit redefines LDCONFIG=ldconfig
   in OpenWrt Makefile to use ldconfig provided by OpenWrt.

Patch '001-fix-include-signal-h-warning.patch' was refreshed to pass
CI checks. The payload of this patch was not changed.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-30 14:40:24 +03:00
Rosen Penev
7a9cc85b22
libpri: remove Werror
Fixes compilation under musl 1.2.x where time_t is 64-bit.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-09 02:31:31 -07:00
Sebastian Kemper
f808a0b76c libpri: update install defines
- Use $(INSTALL_DATA) for the header file.

- Make sure that also the libpri.so symlink gets installed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 10:46:34 +01:00
Sebastian Kemper
45ed7d4afc telephony: use https:// PKG_SOURCE_URLs where possible
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-10-08 10:11:02 +02:00
Daniel Golle
0d74b1de1d libpri: update to version 1.6.0
Reported-by: Jonas Albrecht <jalb-ledeml@freenet.de>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-04-29 13:06:29 +02:00
Daniel Golle
3f7533b41c libpri: update to version 1.5.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-06-12 14:36:24 +02:00
Mantas Pucka
95b9f91748 libpri: add old release dir to mirrors
Signed-off-by: Mantas Pucka <mantas@8devices.com>
2016-06-10 14:42:30 +03:00
Daniel Golle
f09b7600aa libpri: fix warning when building with musl
fix #warning redirecting incorrect #include <sys/signal.h> to <signal.h>

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-10-02 00:12:09 +02:00
Daniel Golle
185e293082 libpri: add new package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-09-27 00:16:58 +02:00