X-Git-Url: https://git.rvb.name/lede-packages.git/blobdiff_plain/ac9e387f08bcc5af4ef70f1196efe5256b670a42..5164dd813dd5280ac38bddc4357f74eaa3088e63:/3-axis/Makefile diff --git a/3-axis/Makefile b/3-axis/Makefile new file mode 100644 index 0000000..de1aef1 --- /dev/null +++ b/3-axis/Makefile @@ -0,0 +1,32 @@ +# +# Copyright (C) Felix Fietkau +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=3-axis +PKG_RELEASE:=1 + +PKG_FLAGS:=nonshared + +include $(INCLUDE_DIR)/package.mk + +define Package/3-axis + SECTION:=utils + CATEGORY:=Utilities + TITLE:=3-axis input device monitoring tool +endef + +define Package/$(PKG_NAME)/Build/Compile + $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) -o $(PKG_BUILD_DIR)/3-axis ./src/3-axis.c +endef + +define Package/$(PKG_NAME)/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/3-axis $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,3-axis))