summaryrefslogtreecommitdiff
path: root/package/miax/Makefile
blob: f028a4879ed7ff860c955d9fa0b7d7f9d38bf16e (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
# 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-bluetooth bluez-libs libpthread
PKG_URL:=		http://sourceforge.net/projects/miax
PKG_SITES:=		http://mesh.dl.sourceforge.net/sourceforge/miax/

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

include ${TOPDIR}/mk/package.mk

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

BUILD_STYLE:=		auto
MAKE_FLAGS+=		CC="${TARGET_CC}" \
			OFLAGS="${TCFLAGS}" \
			CPPFLAGS="${TCPPFLAGS}" \
			LDFLAGS="${TLDFLAGS}" \

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

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