summaryrefslogtreecommitdiff
path: root/package/miax/Makefile
blob: 581909511b149494b7273f888de2805f78fbcfbf (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
36
37
38
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		miax
PKG_VERSION:=		1.4
PKG_RELEASE:=		1
PKG_MD5SUM:=		44f0d2ef46ee2697d890b7b96846adc7
PKG_DESCR:=		A console iax (asterisk) client
PKG_SECTION:=		bluetooth
PKG_DEPENDS:=		kmod-bt bluez libpthread
PKG_BUILDDEP:=		bluez
PKG_URL:=		http://sourceforge.net/projects/miax
PKG_SITES:=		http://mesh.dl.sourceforge.net/sourceforge/miax/

PKG_ARCH_DEPENDS:=	!avr32

DISTFILES:=		${PKG_NAME}_${PKG_VERSION}.tar.gz
WRKDIST=		${WRKDIR}/${PKG_NAME}

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,MIAX,miax,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIG_STYLE:=		manual
INSTALL_STYLE:=		manual

MAKE_FLAGS+=		CC="${TARGET_CC}" \
			OFLAGS="${TARGET_CFLAGS}" \
			CPPFLAGS="${TARGET_CPPFLAGS}" \
			LDFLAGS="${TARGET_LDFLAGS}"

do-install:
	${INSTALL_DIR} ${IDIR_MIAX}/usr/bin
	${INSTALL_BIN} ${WRKBUILD}/miax ${IDIR_MIAX}/usr/bin/

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