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
:=Thunar-
$(PKG_VERSION
).
tar.bz2
16 PKG_BUILD_DIR
:=$(BUILD_DIR
)/Thunar-
$(PKG_VERSION
)
17 PKG_SOURCE_URL
:=http
://www.tx-us.xfce.org
/archive
/xfce-4.5
.93/src
/
18 PKG_MD5SUM
:=8fb12c28284503929732dea8c185c413
22 include $(INCLUDE_DIR
)/package.mk
24 TARGET_CFLAGS
+=-I
$(STAGING_DIR
)/usr
/lib
/libintl
/include
27 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib \
28 -L
$(STAGING_DIR
)/usr
/lib
/libintl
/lib
30 define Package
/libthunar-vfs
34 TITLE
:=thunar virtual filesystem library
35 DEPENDS
:=+libexo
+libpng
+libxfce4util
+libgamin
+libstartup-notification \
39 define Package
/libthunarx
52 DEPENDS
:=+libthunarx
+libthunar-vfs
55 define Build
/Configure
56 $(call Build
/Configure
/Default
, \
57 --libexecdir
=/usr
/lib
/thunar
/ \
62 define Build
/InstallDev
63 $(INSTALL_DIR
) $(1)/usr
/{lib
/pkgconfig
,lib
/thunarx-1
,include}
65 $(PKG_INSTALL_DIR
)/usr
/include/* \
69 $(PKG_INSTALL_DIR
)/usr
/lib
/*.
{la
,a
,so
*} \
73 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* \
74 $(1)/usr
/lib
/pkgconfig
/
77 define Package
/libthunar-vfs
/install
78 $(INSTALL_DIR
) $(1)/usr
/lib
/
80 $(PKG_INSTALL_DIR
)/usr
/lib
/libthunar-vfs-1.so
* \
84 define Package
/libthunarx
/install
85 $(INSTALL_DIR
) $(1)/usr
/lib
/thunarx-1
87 $(PKG_INSTALL_DIR
)/usr
/lib
/libthunarx-1.so
* \
90 $(PKG_INSTALL_DIR
)/usr
/lib
/thunarx-1
/*.so
* \
91 $(1)/usr
/lib
/thunarx-1
/
94 define Package
/thunar
/install
95 $(INSTALL_DIR
) $(1)/usr
/bin
/
97 $(PKG_INSTALL_DIR
)/usr
/bin
/* \
100 $(INSTALL_DIR
) $(1)/usr
/lib
/thunar
/xfce4
/panel-plugins
102 $(PKG_INSTALL_DIR
)/usr
/lib
/thunar
/{T
,t
}hunar
* \
105 $(PKG_INSTALL_DIR
)/usr
/lib
/thunar
/xfce4
/panel-plugins
/* \
106 $(1)/usr
/lib
/thunar
/xfce4
/panel-plugins
108 $(INSTALL_DIR
) $(1)/usr
/share
/applications
110 $(PKG_INSTALL_DIR
)/usr
/share
/applications
/* \
111 $(1)/usr
/share
/applications
/
113 $(INSTALL_DIR
) $(1)/usr
/share
/xfce4
/panel-plugins
115 $(PKG_INSTALL_DIR
)/usr
/share
/xfce4
/panel-plugins
/* \
116 $(1)/usr
/share
/xfce4
/panel-plugins
/
118 $(INSTALL_DIR
) $(1)/usr
/share
/dbus-1
/services
120 $(PKG_INSTALL_DIR
)/usr
/share
/dbus-1
/services
/* \
121 $(1)/usr
/share
/dbus-1
/services
/
123 $(INSTALL_DIR
) $(1)/usr
/share
/icons
125 $(PKG_INSTALL_DIR
)/usr
/share
/icons
/* \
126 $(1)/usr
/share
/icons
/
128 $(INSTALL_DIR
) $(1)/usr
/share
/pixmaps
/Thunar
130 $(PKG_INSTALL_DIR
)/usr
/share
/pixmaps
/Thunar
/* \
131 $(1)/usr
/share
/pixmaps
/Thunar
134 $(eval
$(call BuildPackage
,libthunar-vfs
))
135 $(eval
$(call BuildPackage
,libthunarx
))
136 $(eval
$(call BuildPackage
,thunar
))