2 # Copyright (C) 2009-2011 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
:=Thunar-
$(PKG_VERSION
).
tar.bz2
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/Thunar-
$(PKG_VERSION
)
16 PKG_SOURCE_URL
:=http
://archive.xfce.org
/xfce
/4.6.1/src
/
17 PKG_MD5SUM
:=218373aa45d74b6ba8c69c4d5af3bb19
22 include $(INCLUDE_DIR
)/package.mk
23 include $(INCLUDE_DIR
)/nls.mk
26 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib \
29 define Package
/libthunar-vfs
33 TITLE
:=thunar virtual filesystem library
34 DEPENDS
:=+libexo
+libpng
+libxfce4util
+libgamin
+libstartup-notification \
35 +xfce4-panel
+dbus-launch-x
+gamin-server
38 define Package
/libthunarx
51 DEPENDS
:=+libthunarx
+libthunar-vfs
54 define Build
/Configure
55 $(call Build
/Configure
/Default
, \
56 --libexecdir
=/usr
/lib
/thunar
/ \
61 define Build
/InstallDev
62 $(INSTALL_DIR
) $(1)/usr
/{lib
/pkgconfig
,lib
/thunarx-1
,include}
64 $(PKG_INSTALL_DIR
)/usr
/include/* \
68 $(PKG_INSTALL_DIR
)/usr
/lib
/*.
{la
,a
,so
*} \
72 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* \
73 $(1)/usr
/lib
/pkgconfig
/
76 define Package
/libthunar-vfs
/install
77 $(INSTALL_DIR
) $(1)/usr
/lib
/
79 $(PKG_INSTALL_DIR
)/usr
/lib
/libthunar-vfs-1.so
* \
83 define Package
/libthunarx
/install
84 $(INSTALL_DIR
) $(1)/usr
/lib
/thunarx-1
86 $(PKG_INSTALL_DIR
)/usr
/lib
/libthunarx-1.so
* \
89 $(PKG_INSTALL_DIR
)/usr
/lib
/thunarx-1
/*.so
* \
90 $(1)/usr
/lib
/thunarx-1
/
93 define Package
/thunar
/install
94 $(INSTALL_DIR
) $(1)/usr
/bin
/
96 $(PKG_INSTALL_DIR
)/usr
/bin
/* \
99 $(INSTALL_DIR
) $(1)/usr
/lib
/thunar
/xfce4
/panel-plugins
101 $(PKG_INSTALL_DIR
)/usr
/lib
/thunar
/{T
,t
}hunar
* \
104 $(PKG_INSTALL_DIR
)/usr
/lib
/thunar
/xfce4
/panel-plugins
/* \
105 $(1)/usr
/lib
/thunar
/xfce4
/panel-plugins
107 $(INSTALL_DIR
) $(1)/usr
/share
/applications
109 $(PKG_INSTALL_DIR
)/usr
/share
/applications
/* \
110 $(1)/usr
/share
/applications
/
112 $(INSTALL_DIR
) $(1)/usr
/share
/xfce4
/panel-plugins
114 $(PKG_INSTALL_DIR
)/usr
/share
/xfce4
/panel-plugins
/* \
115 $(1)/usr
/share
/xfce4
/panel-plugins
/
117 $(INSTALL_DIR
) $(1)/usr
/share
/dbus-1
/services
119 $(PKG_INSTALL_DIR
)/usr
/share
/dbus-1
/services
/* \
120 $(1)/usr
/share
/dbus-1
/services
/
122 $(INSTALL_DIR
) $(1)/usr
/share
/icons
124 $(PKG_INSTALL_DIR
)/usr
/share
/icons
/* \
125 $(1)/usr
/share
/icons
/
127 $(INSTALL_DIR
) $(1)/usr
/share
/pixmaps
/Thunar
129 $(PKG_INSTALL_DIR
)/usr
/share
/pixmaps
/Thunar
/* \
130 $(1)/usr
/share
/pixmaps
/Thunar
133 $(eval
$(call BuildPackage
,libthunar-vfs
))
134 $(eval
$(call BuildPackage
,libthunarx
))
135 $(eval
$(call BuildPackage
,thunar
))