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.1 KiB

  1. #
  2. # Copyright (C) 2015-2016 Thomas Weißschuh
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=esniper
  9. PKG_VERSION:=2.32.0
  10. PKG_RELEASE:=1
  11. PKG_LICENSE:=BSD-2-Clause
  12. PKG_LICENSE_FILES:=COPYING
  13. PKG_MAINTAINER:=Thomas Weißschuh <openwrt@t-8ch.de>
  14. VERSION_TRANSFORMED:=$(subst .,-,$(PKG_VERSION))
  15. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(VERSION_TRANSFORMED)
  16. PKG_SOURCE:=$(PKG_NAME)-$(VERSION_TRANSFORMED).tgz
  17. PKG_SOURCE_URL:=@SF/$(PKG_NAME)
  18. PKG_MD5SUM:=5ee3e5237c6a12059ae9d38380505d38448c2c12787f9fcc603cdb0a1a519312
  19. PKG_BUILD_PARALLEL:=1
  20. include $(INCLUDE_DIR)/package.mk
  21. define Package/esniper
  22. SECTION:=net
  23. CATEGORY:=Network
  24. TITLE:=Simple, lightweight tool for sniping eBay auctions
  25. URL:=http://esniper.sourceforge.net/
  26. DEPENDS:=+libcurl +ca-certificates
  27. endef
  28. define Package/esniper/install
  29. $(INSTALL_DIR) $(1)/usr/bin
  30. $(INSTALL_BIN) $(PKG_BUILD_DIR)/esniper $(1)/usr/bin/
  31. $(INSTALL_BIN) $(PKG_BUILD_DIR)/frontends/snipe $(1)/usr/bin/
  32. endef
  33. $(eval $(call BuildPackage,esniper))