mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 19:12:33 +08:00
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=vlmcsd
|
|
PKG_VERSION:=svn1112
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_MAINTAINER:=fuyumi <280604399@qq.com>
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://github.com/Wind4/vlmcsd.git
|
|
PKG_SOURCE_VERSION:=cd488aeb85aedefe1cb4db02c632397d78a9de88
|
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
|
|
PKG_SOURCE:=$(PKG_SOURCE_SUBDIR)-$(PKG_VERSION).tar.gz
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR)
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/vlmcsd
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=vlmcsd for OpenWRT
|
|
URL:=http://forums.mydigitallife.info/threads/50234
|
|
DEPENDS:=+libpthread
|
|
endef
|
|
|
|
define Package/vlmcsd/description
|
|
vlmcsd is a KMS Emulator in C.
|
|
endef
|
|
|
|
MAKE_FLAGS += \
|
|
-C $(PKG_BUILD_DIR)
|
|
|
|
define Package/vlmcsd/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/vlmcsd $(1)/usr/bin/vlmcsd
|
|
#$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/vlmcs $(1)/usr/bin/vlmcs
|
|
$(INSTALL_DIR) $(1)/etc
|
|
$(INSTALL_BIN) ./files/vlmcsd.ini $(1)/etc/vlmcsd.ini
|
|
#$(INSTALL_DIR) $(1)/etc/init.d
|
|
#$(INSTALL_BIN) ./files/vlmcsd.init $(1)/etc/init.d/vlmcsd
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,vlmcsd))
|