2 # Copyright (C) 2015 - 2018 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://downloads.asterisk.org
/pub
/telephony
/libpri
/releases
16 PKG_HASH
:=7225ea7ec334a115f9dc08e71f55589c38cb4e00b13964cd2f08cc4e6123e3f6
17 PKG_MAINTAINER
:=Daniel Golle
<daniel@makrotopia.org
>
21 include $(INCLUDE_DIR
)/package.mk
26 TITLE
:=libpri Primary Rate ISDN implementation
27 URL
:=http
://www.asterisk.org
/
28 DEPENDS
:=+dahdi-tools-libtonezone
31 define Package
/libpri
/description
32 libpri is a C implementation of the Primary Rate ISDN specification. It was
33 based on the Bellcore specification SR-NWT-002343 for National ISDN. As of
34 May
12, 2001, it has been tested work with NI-2
, Nortel DMS-100
, and
35 Lucent
5E Custom protocols on switches from Nortel and Lucent.
38 define Build
/Configure
41 define Build
/InstallDev
42 $(INSTALL_DIR
) $(1)/usr
/include
43 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/include/*.h
$(1)/usr
/include/
44 $(INSTALL_DIR
) $(1)/usr
/lib
45 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libpri
*.a
$(1)/usr
/lib
/
46 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libpri
*.so
* $(1)/usr
/lib
/
49 define Package
/libpri
/install
50 $(INSTALL_DIR
) $(1)/usr
/lib
51 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libpri
*.so
* $(1)/usr
/lib
/
54 $(eval
$(call BuildPackage
,libpri
))