From c51dde87c2fc6d695b971ae6bfeb2f85c2ac2912 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 9 Jan 2022 01:15:32 +0100 Subject: ... --- flake.nix | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/flake.nix b/flake.nix index ab4a0ef..fc9dcc4 100644 --- a/flake.nix +++ b/flake.nix @@ -120,32 +120,32 @@ include $(INCLUDE_DIR)/package.mk define Package/sunwait - SECTION:=util - CATEGORY:=Utilities - TITLE:=Sunwait - URL:=https://github.com/risacher/sunwait - DEPENDS:=+libstdcpp +libc + SECTION:=util + CATEGORY:=Utilities + TITLE:=Sunwait + URL:=https://github.com/risacher/sunwait + DEPENDS:=+libstdcpp +libc endef define Package/sunwait/description - Wait until the specified solar event + Wait until the specified solar event endef define Build/Prepare - cp -r ${inputs.sunwait} . - cd $(basename ${inputs.sunwait}) + cp -r ${inputs.sunwait} . + cd $(basename ${inputs.sunwait}) endef define Build/Compile - $(TARGET_CC) $(TARGET_CPPFLAGS) -o $(PKG_BUILD_DIR)/sunwait.o -c $(PKG_BUILD_DIR)/sunwait.cpp - $(TARGET_CC) $(TARGET_CPPFLAGS) -o $(PKG_BUILD_DIR)/sunriset.o -c $(PKG_BUILD_DIR)/sunriset.cpp - $(TARGET_CC) $(TARGET_CPPFLAGS) -o $(PKG_BUILD_DIR)/print.o -c $(PKG_BUILD_DIR)/print.cpp - $(TARGET_CC) $(TARGET_LDFLAGS) -o $(PKG_BUILD_DIR)/$1 $(PKG_BUILD_DIR)/sunwait.o $(PKG_BUILD_DIR)/sunriset.o $(PKG_BUILD_DIR)/print.o -lm -lstdc++ + $(TARGET_CC) $(TARGET_CPPFLAGS) -o $(PKG_BUILD_DIR)/sunwait.o -c $(PKG_BUILD_DIR)/sunwait.cpp + $(TARGET_CC) $(TARGET_CPPFLAGS) -o $(PKG_BUILD_DIR)/sunriset.o -c $(PKG_BUILD_DIR)/sunriset.cpp + $(TARGET_CC) $(TARGET_CPPFLAGS) -o $(PKG_BUILD_DIR)/print.o -c $(PKG_BUILD_DIR)/print.cpp + $(TARGET_CC) $(TARGET_LDFLAGS) -o $(PKG_BUILD_DIR)/$1 $(PKG_BUILD_DIR)/sunwait.o $(PKG_BUILD_DIR)/sunriset.o $(PKG_BUILD_DIR)/print.o -lm -lstdc++ endef define Package/sunwait/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/sunwait $(1)/usr/bin/ + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/sunwait $(1)/usr/bin/ endef $(eval $(call BuildPackage,sunwait)) -- cgit v1.2.3