Root/fbsize/Makefile

1#
2# This is free software, licensed under the GNU General Public License v2.
3#
4
5include $(TOPDIR)/rules.mk
6
7PKG_NAME:=fbsize
8PKG_VERSION:=0.0.1
9PKG_RELEASE:=1
10
11include $(INCLUDE_DIR)/package.mk
12
13define Package/fbsize
14  SECTION:=utils
15  CATEGORY:=Utilities
16  TITLE:=fbsize shows current terminal size
17  SUBMENU:=Terminal
18endef
19
20define Package/fbsize/description
21  fbsize, a small utility to show current terminal size (might be handy)
22endef
23
24define Build/Compile
25    $(TARGET_CC) -o $(PKG_BUILD_DIR)/fbsize ./files/fbsize.c
26endef
27
28define Package/fbsize/install
29    $(INSTALL_DIR) \
30        $(1)/usr/bin
31
32    $(INSTALL_BIN) \
33        $(PKG_BUILD_DIR)/fbsize \
34        $(1)/usr/bin/fbsize
35
36endef
37
38$(eval $(call BuildPackage,fbsize))
39

Archive Download this file



interactive