OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 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 | |
| 8 | include $(TOPDIR)/rules.mk |
| 9 | |
| 10 | PKG_NAME:=dfbmp |
| 11 | PKG_VERSION:=0.1.1 |
| 12 | |
| 13 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
| 14 | PKG_SOURCE_URL:=http://www.maui-systems.org/oss/dfbmp |
| 15 | |
| 16 | PKG_INSTALL:=1 |
| 17 | |
| 18 | include $(INCLUDE_DIR)/package.mk |
| 19 | |
| 20 | define 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 |
| 26 | endef |
| 27 | |
| 28 | TARGET_CFLAGS+=-lcurl -lssl -lcrypto -lz |
| 29 | |
| 30 | define Package/dfbmp/description |
| 31 | This code is a very simplistic DirectFB client for MPD |
| 32 | endef |
| 33 | |
| 34 | define Build/Configure |
| 35 | ( cd $(PKG_BUILD_DIR); ./autogen.sh ); |
| 36 | $(call Build/Configure/Default) |
| 37 | endef |
| 38 | |
| 39 | define 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/ |
| 44 | endef |
| 45 | |
| 46 | $(eval $(call BuildPackage,dfbmp)) |
| 47 |
