Root/libgnome-vfs/Makefile

1#
2# Copyright (C) 2009 Qi Hardware Inc.
3# Author: Xiangfu Liu <xiangfu@qi-hardware.com>
4#
5# This is free software, licensed under the GNU General Public License v2.
6# See /LICENSE for more information.
7#
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=gnome-vfs
12PKG_VERSION:=2.24.2
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=http://ftp.gnome.org/pub/gnome/sources/gnome-vfs/2.24/
16PKG_INSTALL:=1
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/gnome-vfs
21    TITLE:=gnome-vfs
22    SECTION:=libs
23    CATEGORY:=Libraries
24    DEPENDS:=@BROKEN +libintl +libpopt +gnome-mime-data
25    URL:=
26endef
27
28define Package/gnome-vfs/description
29endef
30
31TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include
32                                           
33TARGET_LDFLAGS+= \
34        -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
35        -L$(STAGING_DIR)/usr/lib/libintl/lib
36
37define Build/InstallDev
38    $(INSTALL_DIR) \
39        $(1)/usr/include \
40        $(1)/usr/lib
41    $(CP) \
42        $(PKG_INSTALL_DIR)/usr/lib/* \
43        $(1)/usr/lib/
44    $(CP) \
45        $(PKG_INSTALL_DIR)/usr/include/* \
46        $(1)/usr/include/
47endef
48
49define Package/gnome-vfs/install
50    $(INSTALL_DIR) \
51        $(1)/usr/lib \
52    $(CP) \
53        $(PKG_INSTALL_DIR)/usr/lib/gnome-vfs*.so* \
54        $(1)/usr/lib/
55endef
56
57$(eval $(call BuildPackage,gnome-vfs))
58

Archive Download this file



interactive