fwknop: init script improvements
[feed/packages.git] / sound / mpc / Makefile
1 #
2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
4 #
5
6 include $(TOPDIR)/rules.mk
7
8 PKG_NAME:=mpc
9 PKG_VERSION:=0.32
10 PKG_RELEASE:=1
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
13 PKG_SOURCE_URL:=https://www.musicpd.org/download/mpc/0
14 PKG_HASH:=7961d95b7ce019996beab281cf957e905667c989c53fffd13ade5e62fea331c7
15
16 PKG_LICENSE:=GPL-2.0-or-later
17 PKG_LICENSE_FILES:=COPYING
18 PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
19
20 PKG_BUILD_DEPENDS:=meson/host
21 PKG_INSTALL:=1
22
23 include $(INCLUDE_DIR)/package.mk
24 include ../../devel/meson/meson.mk
25
26 MESON_ARGS+=-Diconv=disabled -Ddocumentation=disabled
27
28 define Package/mpc
29 SECTION:=sound
30 CATEGORY:=Sound
31 DEPENDS:=+libmpdclient
32 TITLE:=Music Player Daemon Console Client
33 URL:=http://www.musicpd.org/
34 endef
35
36 define Package/mpc/description
37 MPD is a music player supporting flac, mp3 and ogg files.
38 It is typically controlled over a network using one of it's many
39 clients including mpc(console), gmpc(gnome), phpmp(php) etc.
40 this is MPC
41 endef
42
43 define Package/mpc/install
44 $(INSTALL_DIR) $(1)/usr/bin
45 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mpc $(1)/usr/bin/
46 $(INSTALL_BIN) ./files/pls-handler.sh $(1)/usr/bin/
47 endef
48
49 $(eval $(call BuildPackage,mpc))