Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=vlmcsd
  3. PKG_VERSION=svn1108
  4. PKG_RELEASE:=1
  5. PKG_MAINTAINER:=Wind4
  6. PKG_LICENSE:=MIT
  7. PKG_LICENSE_FILES:=LICENSE
  8. PKG_SOURCE:=$(PKG_VERSION).tar.gz
  9. PKG_SOURCE_URL:=https://github.com/Wind4/vlmcsd/archive
  10. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
  11. PKG_BUILD_PARALLEL:=1
  12. include $(INCLUDE_DIR)/package.mk
  13. define Package/vlmcsd
  14. SECTION:=net
  15. CATEGORY:=Network
  16. TITLE:=vlmcsd for OpenWRT
  17. URL:=http://forums.mydigitallife.info/threads/50234
  18. DEPENDS:=+libpthread
  19. endef
  20. define Package/vlmcsd/description
  21. vlmcsd is a KMS Emulator in C.
  22. endef
  23. MAKE_FLAGS += \
  24. -C $(PKG_BUILD_DIR)
  25. define Package/vlmcsd/install
  26. $(INSTALL_DIR) $(1)/usr/bin
  27. $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/vlmcsd $(1)/usr/bin/vlmcsd
  28. $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/vlmcs $(1)/usr/bin/vlmcs
  29. $(INSTALL_DIR) $(1)/etc
  30. $(INSTALL_BIN) $(PKG_BUILD_DIR)/etc/vlmcsd.ini $(1)/etc/vlmcsd.ini
  31. $(INSTALL_DIR) $(1)/etc/init.d
  32. $(INSTALL_BIN) ./files/vlmcsd.init $(1)/etc/init.d/vlmcsd
  33. endef
  34. $(eval $(call BuildPackage,vlmcsd))