2 # Copyright (C) 2011-2012 Daniel Golle <dgolle@allnet.de>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
15 include $(INCLUDE_DIR
)/package.mk
17 define Package
/rssileds
20 TITLE
:=RSSI real-time LED indicator
22 MAINTAINER
:=Daniel Golle
<dgolle@allnet.de
>
25 define Package
/rssileds
/description
26 A small process written in C to update the signal-strength indicator LEDs
30 mkdir
-p
$(PKG_BUILD_DIR
)
31 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
34 define Build
/Configure
38 $(TARGET_CC
) $(TARGET_CFLAGS
) -Wall
-liwinfo \
39 -o
$(PKG_BUILD_DIR
)/rssileds
$(PKG_BUILD_DIR
)/rssileds.c
42 define Package
/rssileds
/install
43 $(INSTALL_DIR
) $(1)/etc
/init.d
44 $(INSTALL_BIN
) .
/files
/rssileds.init
$(1)/etc
/init.d
/rssileds
45 $(INSTALL_DIR
) $(1)/usr
/sbin
46 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/rssileds
$(1)/usr
/sbin
/
49 $(eval
$(call BuildPackage
,rssileds
))