Makefile (892B)
1 include $(TOPDIR)/rules.mk 2 3 PKG_NAME:=iota 4 PKG_VERSION:=0.0.1 5 PKG_RELEASE:=1 6 PKG_LICENSE:=MIT 7 PKG_LICENSE_FILES:=LICENSE 8 9 PKG_REV:=f35d016c5b96328ef27cd4254393728b6786c5a7 10 11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz 12 PKG_SOURCE_URL:=git://github.com/gchp/iota.git 13 PKG_SOURCE_PROTO:=git 14 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) 15 PKG_SOURCE_VERSION:=$(PKG_REV) 16 17 PKG_INSTALL:=1 18 PKG_BUILD_PARALLEL:=1 19 20 include $(INCLUDE_DIR)/package.mk 21 22 define Package/iota 23 SUBMENU:=Editors 24 SECTION:=utils 25 CATEGORY:=Utilities 26 TITLE:=A terminal-based text editor written in Rust 27 URL:=https://github.com/gchp/iota/ 28 MAINTAINER:=Greg Chapple <https://github.com/gchp> 29 endef 30 31 endef 32 33 define Build/Prepare 34 $(call Build/Prepare/Default) 35 endef 36 37 define Package/iota/install 38 $(INSTALL_DIR) $(1)/usr/bin 39 $(CP) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/ 40 endef 41 42 $(eval $(call BuildPackage,iota))