summaryrefslogtreecommitdiff
path: root/package/chillispot/Makefile
blob: 543b84f37e02962befc409611757e111c2471ffd (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
# $Id$
#-
# 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:=		chillispot
PKG_VERSION:=		1.1.0
PKG_RELEASE:=		1
PKG_MD5SUM:=		9d2597756af3fa14d7331b4a3651fc9b
PKG_DESCR:=		Wireless LAN Access Point Controller
PKG_SECTION:=		net
PKG_DEPENDS:=		kmod-tun
PKG_URL:=		http://www.chillispot.info
PKG_SITES=		http://www.chillispot.info/download/

include ${TOPDIR}/mk/package.mk

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

CONFIGURE_STYLE=	gnu
BUILD_STYLE=		auto
INSTALL_STYLE=		auto

post-install:
	${INSTALL_DIR} ${IDIR_CHILLISPOT}/usr/sbin ${IDIR_CHILLISPOT}/etc
	${INSTALL_BIN} ./files/chilli.conf \
		${IDIR_CHILLISPOT}/etc/
	${INSTALL_BIN} ${WRKINST}/usr/sbin/chilli ${IDIR_CHILLISPOT}/usr/sbin/

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