summaryrefslogtreecommitdiff
path: root/package/mISDNuser/Makefile
blob: d840e2f244ca2a567addd8bf8e3d60b1569b7dd6 (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
32
33
34
35
# 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:=		mISDNuser
PKG_VERSION:=		1_1_9
PKG_RELEASE:=		1
PKG_MD5SUM:=		e174a60e7040c88d1184364714e55c1b
PKG_DESCR:=		misdn kernel link library and includes, this is the out-of-tree version
PKG_SECTION:=		net/voip
PKG_DEPENDS:=		misdn
PKG_BUILDDEP:=		mISDN
PKG_URL:=		http://www.misdn.org
PKG_SITES:=		http://www.misdn.org/downloads/releases/
PKG_NOPARALLEL:=	1

PKG_CFLINE_MISDNUSER:=	depends on ADK_BROKEN

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,MISDNUSER,misdnuser,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))

CONFIG_STYLE:=		manual
XAKE_FLAGS+=		MISDNDIR=$(STAGING_TARGET_DIR)/usr INSTALL_PREFIX=$(WRKINST)

misdnuser-install:
	$(INSTALL_DIR) $(IDIR_MISDNUSER)/usr/{bin,lib}
	$(INSTALL_BIN) $(WRKINST)/usr/bin/{loadfirm,mISDNdebugtool,misdnportinfo} \
		$(IDIR_MISDNUSER)/usr/bin/
	$(INSTALL_BIN) $(WRKINST)/usr/bin/{sendhwctrl,testcon*,testlayer*} \
		$(IDIR_MISDNUSER)/usr/bin/
	$(CP) $(WRKINST)/usr/lib/*.so* $(IDIR_MISDNUSER)/usr/lib/

include $(ADK_TOPDIR)/mk/pkg-bottom.mk