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.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=http
://spuriousinterrupt.org
/files
/xfmedia
/
17 PKG_MD5SUM
:=6eb8bd1f67201f829e0f45e733c02bd5
22 include $(INCLUDE_DIR
)/package.mk
25 TARGET_CFLAGS
+=-I
$(STAGING_DIR
)/usr
/lib
/libintl
/include/
28 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib \
30 -L
$(STAGING_DIR
)/usr
/lib
/libintl
/lib
32 define Package
/xfmedia
37 DEPENDS
:=+libxfcegui4
+xine-lib
+dbus
+taglib
40 define Build
/Configure
41 $(call Build
/Configure
/Default
, \
45 define Build
/InstallDev
46 $(INSTALL_DIR
) $(1)/usr
/{lib
/pkgconfig
,include}
48 $(PKG_INSTALL_DIR
)/usr
/include/* \
51 $(PKG_INSTALL_DIR
)/usr
/lib
/*.
{so
*,la
,a
} \
54 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* \
55 $(1)/usr
/lib
/pkgconfig
/
58 define Package
/xfmedia
/install
59 $(INSTALL_DIR
) $(1)/usr
/lib
/
61 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
64 $(INSTALL_DIR
) $(1)/usr
/bin
/
66 $(PKG_INSTALL_DIR
)/usr
/bin
/* \
69 $(INSTALL_DIR
) $(1)/usr
/share
/icons
/hicolor
/48x48
/apps
71 $(PKG_INSTALL_DIR
)/usr
/share
/icons
/hicolor
/48x48
/apps
/* \
72 $(1)/usr
/share
/icons
/hicolor
/48x48
/apps
/
74 $(INSTALL_DIR
) $(1)/usr
/share
/applications
76 $(PKG_INSTALL_DIR
)/usr
/share
/applications
/* \
77 $(1)/usr
/share
/applications
80 $(eval
$(call BuildPackage
,xfmedia
))