mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-04 19:33:56 +08:00
🌴 Sync 2026-03-05 23:51:42
This commit is contained in:
1 parent
97c049ed0a
commit
0acff03804
14253 files changed
+3893239
No files matched your search
Executable
+52
@@ -0,0 +1,52 @@
|
||||
#
|
||||
# Copyright (C) 2020 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ympd
|
||||
PKG_VERSION:=1.2.3
|
||||
PKG_RELEASE:=1
|
||||
PKG_MAINTAINER:=Douglas Orend <doug.orend2@gmail.com>
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/notandy/ympd
|
||||
PKG_SOURCE_VERSION:=612f8fc0b2c47fc89d403e4a044541c6b2b238c8
|
||||
PKG_MIRROR_HASH:=skip
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/cmake.mk
|
||||
|
||||
define Package/ympd
|
||||
TITLE:=ympd
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
URL:=http://ympd.org
|
||||
DEPENDS:=+libmpdclient +libpthread +libopenssl
|
||||
endef
|
||||
|
||||
define Package/ympd/description
|
||||
MPD Web GUI - written in C, utilizing Websockets and Bootstrap/JS
|
||||
endef
|
||||
|
||||
TARGET_CFLAGS += "-std=gnu99"
|
||||
TARGET_LDFLAGS += -lpthread -lmpdclient
|
||||
|
||||
define Package/ympd/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ympd $(1)/usr/bin/
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/config/
|
||||
$(INSTALL_DATA) ./etc/config/ympd $(1)/etc/config/
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/init.d/
|
||||
$(INSTALL_BIN) ./etc/init.d/ympd $(1)/etc/init.d/
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/uci-defaults/
|
||||
$(INSTALL_BIN) ./etc/uci-defaults/ympd $(1)/etc/uci-defaults/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,ympd))
|
||||
Reference in new issue
Block a user