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.

59 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2015 OpenWrt.org
  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:=noip
  9. PKG_REV:=1
  10. PKG_VERSION:=2.1.9-1
  11. PKG_RELEASE:=1
  12. PKG_SOURCE:=noip-duc-linux.tar.gz
  13. PKG_SOURCE_URL=http://www.noip.com/client/linux/
  14. PKG_MD5SUM:=3b0f5f2ff8637c73ab337be403252a60
  15. PKG_MAINTAINER:="Lawrence D'Anna <larry@elder-gods.org>"
  16. PKG_LICENSE:=GPLv2
  17. PKG_LICENSE_FILES:=COPYING
  18. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/noip
  21. SECTION:=net
  22. CATEGORY:=Network
  23. DEPENDS:=
  24. TITLE:=noip.com client
  25. URL:=http://noip.com
  26. endef
  27. define Package/noip/description
  28. This is the ip address update client for noip.com
  29. endef
  30. define Build/Configure
  31. endef
  32. define Build/Compile
  33. $(MAKE) -C $(PKG_BUILD_DIR) \
  34. PREFIX="" \
  35. DESTDIR="$(PKG_INSTALL_DIR)" \
  36. BINDIR="$(PKG_INSTALL_DIR)/usr/bin" \
  37. CFLAGS="$(TARGET_CFLAGS)" \
  38. CC="$(TARGET_CC) $(TARGET_CFLAGS)" -O $(TARGET_CPPFLAGS) \
  39. LD="$(TARGET_CC) $(TARGET_LDFLAGS)" \
  40. install
  41. endef
  42. define Package/noip/install
  43. $(INSTALL_DIR) $(1)/usr/bin/
  44. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
  45. $(CP) ./files/* $(1)/
  46. endef
  47. $(eval $(call BuildPackage,noip))