mirror of
https://github.com/openwrt/telephony.git
synced 2026-04-15 19:02:14 +00:00
Allows to drop backport patch which is now part of the new release. Change Log for Release libpri-1.6.1 ======================================== Links: ---------------------------------------- - [Full ChangeLog](https://downloads.asterisk.org/pub/telephony/libpri/releases/ChangeLog-1.6.1.md) - [GitHub Diff](https://github.com/asterisk/libpri/compare/1.6.0...1.6.1) - [Tarball](https://downloads.asterisk.org/pub/telephony/libpri/libpri-1.6.1.tar.gz) - [Downloads](https://downloads.asterisk.org/pub/telephony/libpri) Summary: ---------------------------------------- - .github: Add Releaser workflow - Link README to README.md - Makefile: Fix modern compiler errors. - Makefile: Add the ability to build libpri on MacOS for Linux target. - q931.c: Fix subaddress finding octet 4. User Notes: ---------------------------------------- Upgrade Notes: ---------------------------------------- Closed Issues: ---------------------------------------- None Commits By Author: ---------------------------------------- - ### George Joseph (2): - Link README to README.md - .github: Add Releaser workflow - ### Sean Bright (1): - Makefile: Fix modern compiler errors. - ### Sergey V. Lobanov (1): - Makefile: Add the ability to build libpri on MacOS for Linux target. - ### bbabic (1): - q931.c: Fix subaddress finding octet 4. Detail: ---------------------------------------- - ### .github: Add Releaser workflow Author: George Joseph Date: 2023-08-16 - ### Link README to README.md Author: George Joseph Date: 2023-08-15 - ### Makefile: Fix modern compiler errors. Author: Sean Bright Date: 2023-03-10 Disable GCC's zero-length-bounds and stringop-overflow errors. PRI-189 #close - ### Makefile: Add the ability to build libpri on MacOS for Linux target. Author: Sergey V. Lobanov Date: 2022-02-19 This patch allows to redefine ar and ranlib tool using AR and RANLIB make flags. PRI-188 #close - ### q931.c: Fix subaddress finding octet 4. Author: bbabic Date: 2017-10-23 Some switches have extended subaddress ie octet 3 encoding to be multi-octet. * Update dump and receive helper functions to search for the end of octet 3 encoding to determine where octet 4 starts. ASTERISK-27342 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
59 lines
1.5 KiB
Makefile
59 lines
1.5 KiB
Makefile
#
|
|
# Copyright (C) 2015 - 2018 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=libpri
|
|
PKG_VERSION:=1.6.1
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://downloads.asterisk.org/pub/telephony/libpri/releases
|
|
PKG_HASH:=d4d1a62766695455f1b616f5f7603458e6d23df787ebabc31ffda1c6298d0509
|
|
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
|
|
|
PKG_INSTALL:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/libpri
|
|
SECTION:=libs
|
|
CATEGORY:=Libraries
|
|
TITLE:=libpri Primary Rate ISDN implementation
|
|
URL:=http://www.asterisk.org/
|
|
DEPENDS:=+dahdi-tools-libtonezone
|
|
endef
|
|
|
|
define Package/libpri/description
|
|
libpri is a C implementation of the Primary Rate ISDN specification. It was
|
|
based on the Bellcore specification SR-NWT-002343 for National ISDN. As of
|
|
May 12, 2001, it has been tested work with NI-2, Nortel DMS-100, and
|
|
Lucent 5E Custom protocols on switches from Nortel and Lucent.
|
|
endef
|
|
|
|
MAKE_FLAGS += \
|
|
OSARCH=Linux \
|
|
LDCONFIG=ldconfig
|
|
|
|
define Build/Configure
|
|
endef
|
|
|
|
define Build/InstallDev
|
|
$(INSTALL_DIR) $(1)/usr/include
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpri*.a $(1)/usr/lib/
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpri*.so* $(1)/usr/lib/
|
|
endef
|
|
|
|
define Package/libpri/install
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpri*.so* $(1)/usr/lib/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,libpri))
|