Root/libgnome-vfs/Makefile

Source at commit 1b3135c created 8 years 4 months ago.
By Xiangfu Liu, new package: SDL-widgets: a GUI toolkit on top of the SDL libraries
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
19include $(INCLUDE_DIR)/nls.mk
20
21define Package/gnome-vfs
22    TITLE:=gnome-vfs
23    SECTION:=libs
24    CATEGORY:=Libraries
25    DEPENDS:=@BROKEN $(INTL_DEPENDS) +libpopt +gnome-mime-data
26    URL:=
27endef
28
29define Package/gnome-vfs/description
30endef
31                                           
32TARGET_LDFLAGS+= \
33        -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
34
35define Build/InstallDev
36    $(INSTALL_DIR) \
37        $(1)/usr/include \
38        $(1)/usr/lib
39    $(CP) \
40        $(PKG_INSTALL_DIR)/usr/lib/* \
41        $(1)/usr/lib/
42    $(CP) \
43        $(PKG_INSTALL_DIR)/usr/include/* \
44        $(1)/usr/include/
45endef
46
47define Package/gnome-vfs/install
48    $(INSTALL_DIR) \
49        $(1)/usr/lib \
50    $(CP) \
51        $(PKG_INSTALL_DIR)/usr/lib/gnome-vfs*.so* \
52        $(1)/usr/lib/
53endef
54
55$(eval $(call BuildPackage,gnome-vfs))
56

Archive Download this file



interactive