You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1016 B

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=wipe
  3. PKG_VERSION:=0.24
  4. PKG_RELEASE:=1
  5. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  6. PKG_SOURCE_URL:=https://codeload.github.com/berke/$(PKG_NAME)/tar.gz/v$(PKG_VERSION)?
  7. PKG_HASH:=aefb4403333562f9af5e3e03ecbba4b124e98788c688662240f9b04d80bfdb2f
  8. PKG_MAINTAINER:=Toni Uhlig <matzeton@googlemail.com>
  9. PKG_LICENSE:=GPL-2.0-only
  10. PKG_BUILD_PARALLEL:=1
  11. include $(INCLUDE_DIR)/package.mk
  12. define Package/wipe
  13. SECTION:=utils
  14. CATEGORY:=Utilities
  15. TITLE:=securely erase files
  16. URL:=http://lambda-diode.com/software/wipe/
  17. endef
  18. define Package/wipe/description
  19. wipe is a little command for securely erasing files from magnetic media.
  20. endef
  21. define Build/Compile
  22. $(MAKE) -C $(PKG_BUILD_DIR) linux \
  23. CC_LINUX="$(TARGET_CC)" \
  24. CFLAGS="$(TARGET_CFLAGS)" \
  25. LDFLAGS="$(TARGET_LDFLAGS)" \
  26. CPPFLAGS="$(TARGET_CPPFLAGS)"
  27. endef
  28. define Package/wipe/install
  29. $(INSTALL_DIR) $(1)/usr/bin
  30. $(INSTALL_BIN) $(PKG_BUILD_DIR)/wipe $(1)/usr/bin/
  31. endef
  32. $(eval $(call BuildPackage,wipe))