2 # Copyright (C) 2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=http
://spuriousinterrupt.org
/files
/xfmedia
/
16 PKG_MD5SUM
:=6eb8bd1f67201f829e0f45e733c02bd5
21 include $(INCLUDE_DIR
)/package.mk
22 include $(INCLUDE_DIR
)/nls.mk
25 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib \
28 define Package
/xfmedia
33 DEPENDS
:=+libxfcegui4
+xine-lib
+dbus
+taglibc
36 define Build
/Configure
37 $(call Build
/Configure
/Default
, \
41 define Build
/InstallDev
42 $(INSTALL_DIR
) $(1)/usr
/{lib
/pkgconfig
,include/xfmedia
}
44 $(PKG_INSTALL_DIR
)/usr
/include/xfmedia
/* \
45 $(1)/usr
/include/xfmedia
/
47 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* \
48 $(1)/usr
/lib
/pkgconfig
/
51 define Package
/xfmedia
/install
52 $(INSTALL_DIR
) $(1)/usr
/bin
/
54 $(PKG_INSTALL_DIR
)/usr
/bin
/* \
57 $(INSTALL_DIR
) $(1)/etc
/xdg
/xfmedia
59 $(PKG_INSTALL_DIR
)/etc
/xdg
/xfmedia
/* \
62 $(INSTALL_DIR
) $(1)/usr
/lib
/xfmedia
/plugins
64 $(PKG_INSTALL_DIR
)/usr
/lib
/xfmedia
/plugins
/*.so
* \
65 $(1)/usr
/lib
/xfmedia
/plugins
/
67 $(INSTALL_DIR
) $(1)/usr
/share
/icons
/hicolor
/
69 $(PKG_INSTALL_DIR
)/usr
/share
/icons
/hicolor
/* \
70 $(1)/usr
/share
/icons
/hicolor
/
72 $(INSTALL_DIR
) $(1)/usr
/share
/applications
74 $(PKG_INSTALL_DIR
)/usr
/share
/applications
/* \
75 $(1)/usr
/share
/applications
78 $(eval
$(call BuildPackage
,xfmedia
))