Advertisement
Guest User

Untitled

a guest
May 19th, 2010
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. include $(TOPDIR)/rules.mk
  2.  
  3. PKG_NAME:=dfblite
  4. PKG_VERSION:=0.8.10
  5. PKG_RELEASE:=1
  6.  
  7. PKG_SOURCE:=LiTE-$(PKG_VERSION).tar.gz
  8. PKG_SOURCE_URL:=http://www.directfb.org/downloads/Libs/
  9. PKG_MD5SUM:=b9a28007d38c2b1c51ba1c3841df29ad
  10. PKG_BUILD_DIR:=$(BUILD_DIR)/dfblite-$(PKG_VERSION)
  11.  
  12. include $(INCLUDE_DIR)/package.mk
  13.  
  14. define Package/dfblite
  15. SECTION:=xorg
  16. CATEGORY:=libs
  17. TITLE:=dfblite
  18. URL:=http://www.directfb.org
  19. MENU:=1
  20. DEPENDS:
  21. endef
  22.  
  23. define Package/dfblite/description
  24. icopy & paste
  25. popular music player for various handheld devices.
  26. It supports various file formats and comes with a
  27. file browser and a playlist editor/viewer.
  28. endef
  29.  
  30. TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
  31.  
  32. define Build/Compile
  33. (cd $(PKG_BUILD_DIR); \
  34. ./configure \
  35. );
  36.  
  37. $(call Build/Configure/Default, \
  38. );
  39.  
  40. $(MAKE) -C $(PKG_BUILD_DIR) \
  41. all
  42. endef
  43.  
  44. define Package/dfblite/install
  45. $(INSTALL_DIR) \
  46. $(1)/usr/share/dfblite \
  47. $(1)/usr/bin \
  48.  
  49. $(INSTALL_BIN) \
  50. $(PKG_BUILD_DIR) \
  51. $(1)/usr/bin/
  52.  
  53. $(INSTALL_DATA) \
  54. $(PKG_BUILD_DIR)/data/ \
  55. $(1)/usr/share/DFBLite/
  56.  
  57. $(INSTALL_LIB) \
  58. $(PKG_BUILD_DIR)/usr/lib \
  59. $(1)/usr/lib
  60. endef
  61.  
  62. $(eval $(call BuildPackage,dfblite))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement