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
1.0 KiB

  1. #
  2. # This software is licensed under the Public Domain.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=fakepop
  6. PKG_VERSION:=11
  7. PKG_RELEASE:=1
  8. PKG_MAINTAINER:=Marc Egerton <foxtrot@realloc.me>
  9. PKG_LICENSE:=GPL-3.0-or-later
  10. PKG_SOURCE:=fakepop_11.tar.gz
  11. PKG_SOURCE_URL:=http://deb.debian.org/debian/pool/main/f/fakepop/
  12. PKG_HASH:=9756259ade152f8dac78174019b4145b4e07738631055c34bc04e64f865393e7
  13. # Downloaded .tar.gz contains "fakepop-10" instead of "fakepop-11"...
  14. PKG_BUILD_DIR:=$(BUILD_DIR)/fakepop-10
  15. include $(INCLUDE_DIR)/nls.mk
  16. include $(INCLUDE_DIR)/package.mk
  17. define Package/fakepop
  18. SECTION:=net
  19. CATEGORY:=Network
  20. TITLE:=fakepop
  21. DEPENDS:=+glib2 +xinetd
  22. endef
  23. define Package/fakepop/description
  24. fake pop3 server which returns the same messages to all users
  25. endef
  26. define Package/fakepop/install
  27. $(INSTALL_DIR) $(1)/usr/bin
  28. $(INSTALL_BIN) $(PKG_BUILD_DIR)/fakepop $(1)/usr/bin/
  29. $(INSTALL_DIR) $(1)/etc/xinetd.d
  30. $(CP) ./files/fakepop $(1)/etc/xinetd.d/
  31. mkdir $(1)/etc/fakepop
  32. endef
  33. $(eval $(call BuildPackage,fakepop))