Root/dfbmp/Makefile

1#
2# Copyright (C) 2008 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=dfbmp
11PKG_VERSION:=0.1.1
12
13PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14PKG_SOURCE_URL:=http://www.maui-systems.org/oss/dfbmp
15
16PKG_INSTALL:=1
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/dfbmp
21    TITLE:=dfbmp
22    SECTION:=sound
23    CATEGORY:=Sound
24    DEPENDS:=@BROKEN +libcurl +libfreetype +zlib
25    URL:=http://www.maui-systems.org/opensource/dfbmp/index.php
26endef
27
28TARGET_CFLAGS+=-lcurl -lssl -lcrypto -lz
29
30define Package/dfbmp/description
31    This code is a very simplistic DirectFB client for MPD
32endef
33
34define Build/Configure
35    ( cd $(PKG_BUILD_DIR); ./autogen.sh );
36    $(call Build/Configure/Default)
37endef
38
39define Package/dfbmp/install
40    $(INSTALL_DIR) $(1)/usr/bin
41    $(INSTALL_DIR) $(1)/usr/share/dfbmp/
42    $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dfbmp $(1)/usr/bin/
43    $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/dfbmp/decker.ttf $(1)/usr/share/dfbmp/
44endef
45
46$(eval $(call BuildPackage,dfbmp))
47

Archive Download this file



interactive