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
14 include $(INCLUDE_DIR
)/package.mk
16 define Package
/rssileds
19 TITLE
:=RSSI real-time LED indicator
23 define Package
/rssileds
/description
24 A small process written in C to update the signal-strength indicator LEDs
28 mkdir
-p
$(PKG_BUILD_DIR
)
29 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
32 define Build
/Configure
36 $(TARGET_CC
) $(TARGET_CFLAGS
) -Wall
-liwinfo \
37 -o
$(PKG_BUILD_DIR
)/rssileds
$(PKG_BUILD_DIR
)/rssileds.c
40 define Package
/rssileds
/install
41 $(INSTALL_DIR
) $(1)/etc
/init.d
42 $(INSTALL_BIN
) .
/files
/rssileds.init
$(1)/etc
/init.d
/rssileds
43 $(INSTALL_DIR
) $(1)/usr
/sbin
44 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/rssileds
$(1)/usr
/sbin
/
47 $(eval
$(call BuildPackage
,rssileds
))