From cef196855f630f7bfd1850e0e50c8fb21bfe8891 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 30 Aug 2018 11:16:06 +0200 Subject: Revert "Temporally drop all advanced packages" This reverts commit c8654a69b75c4f52fa4da372d997708c8a4ecdcf. --- shellrc/Makefile | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 shellrc/Makefile (limited to 'shellrc') diff --git a/shellrc/Makefile b/shellrc/Makefile new file mode 100644 index 0000000..628dd9f --- /dev/null +++ b/shellrc/Makefile @@ -0,0 +1,58 @@ +# +## Copyright (C) 2018 Karel Kočí +# +## This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# # +# +include $(TOPDIR)/rules.mk + +PKG_NAME:=shellrc +PKG_RELEASE:=1 +PKG_SOURCE_URL:=https://git.cynerd.cz/shellrc +PKG_MAINTAINER:=Karel Kočí + +$(call include_mk, autopkg-tag.mk) +include $(INCLUDE_DIR)/package.mk + +define Package/$(PKG_NAME) + TITLE:=Shell initialization files +endef + +define Package/$(PKG_NAME)-bash + TITLE:=Shell initialization files bash specific + DEPENDS:=$(PKG_NAME) bash +endef + +define Package/$(PKG_NAME)-zsh + TITLE:=Shell initialization files zsh specific + DEPENDS:=$(PKG_NAME) zsh +endef + +define Package/$(PKG_NAME)-ash + TITLE:=Shell initialization files ash specific + DEPENDS:=$(PKG_NAME) +endef + +define Build/Compile + true +endef + +define Package/$(PKG_NAME)/install + $(PKG_BUILD_DIR)/install --prefix "$(1)" +endef + +define Package/$(PKG_NAME)-bash/install + $(PKG_BUILD_DIR)/install --prefix "$(1)" --bash --no-base +endef + +define Package/$(PKG_NAME)-zsh/install + $(PKG_BUILD_DIR)/install --prefix "$(1)" --zsh --no-base +endef + +define Package/$(PKG_NAME)-ash/install + # TODO + #$(PKG_BUILD_DIR)/install --prefix "$(1)" --ash --no-base +endef + +$(eval $(call BuildPackage,$(PKG_NAME))) -- cgit v1.2.3