From 9aaeb4623d3ff5746e665bc17914eefd292b7dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Sun, 2 Jan 2011 15:19:00 +0100 Subject: New OpenWrt package for GNU Octave. Experimental/probably still broken. Work in progress. Committing it as compilation seems to take forever. Not sure whether I can finish this within a few days. --- libgnome-vfs/Makefile | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 libgnome-vfs/Makefile (limited to 'libgnome-vfs/Makefile') diff --git a/libgnome-vfs/Makefile b/libgnome-vfs/Makefile new file mode 100644 index 0000000..9ad4175 --- /dev/null +++ b/libgnome-vfs/Makefile @@ -0,0 +1,57 @@ +# +# Copyright (C) 2009 Qi Hardware Inc. +# Author: Xiangfu Liu +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=gnome-vfs +PKG_VERSION:=2.24.2 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://ftp.gnome.org/pub/gnome/sources/gnome-vfs/2.24/ +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/gnome-vfs + TITLE:=gnome-vfs + SECTION:=libs + CATEGORY:=Libraries + DEPENDS:=@BROKEN +libintl +libpopt +gnome-mime-data + URL:= +endef + +define Package/gnome-vfs/description +endef + +TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib + +define Build/InstallDev + $(INSTALL_DIR) \ + $(1)/usr/include \ + $(1)/usr/lib + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/* \ + $(1)/usr/lib/ + $(CP) \ + $(PKG_INSTALL_DIR)/usr/include/* \ + $(1)/usr/include/ +endef + +define Package/gnome-vfs/install + $(INSTALL_DIR) \ + $(1)/usr/lib \ + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/gnome-vfs*.so* \ + $(1)/usr/lib/ +endef + +$(eval $(call BuildPackage,gnome-vfs)) -- cgit v1.2.3