summaryrefslogtreecommitdiff
path: root/package/libpri/Makefile
blob: 489fdf769cb623da0618f855be8e4e5e0d602ff9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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:=		libpri
PKG_VERSION:=		1.4.12
PKG_RELEASE:=		2
PKG_HASH:=		c0e170a742ed5d19515c99472fe79a467522355b3c24e4f7359d667b7d756e75
PKG_DESCR:=		c implementation of the primary rate isdn specification
PKG_SECTION:=		libs/misc
PKG_URL:=		http://www.asterisk.org/
PKG_SITES:=		http://downloads.asterisk.org/pub/telephony/libpri/releases/
PKG_OPTS:=		dev

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

include ${ADK_TOPDIR}/mk/package.mk

$(eval $(call PKG_template,LIBPRI,libpri,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))

CONFIG_STYLE:=		manual

MAKE_FLAGS+=		CC='${TARGET_CC}' LDCONFIG='' ARCH=$(ADK_TARGET_ARCH)
FAKE_FLAGS+=		INSTALL_BASE=/usr

libpri-install:
	${INSTALL_DIR} ${IDIR_LIBPRI}/usr/lib
	${CP} ${WRKINST}/usr/lib/libpri.so* ${IDIR_LIBPRI}/usr/lib

include ${ADK_TOPDIR}/mk/pkg-bottom.mk