Revision: 6518 http://ipcop.svn.sourceforge.net/ipcop/?rev=6518&view=rev Author: gespinasse Date: 2012-03-31 08:20:20 +0000 (Sat, 31 Mar 2012) Log Message: ----------- Add libffi needed to build recent glib version. Fortunately, only libgio-2.0.so part of glib that we do no include depend on libffi, so that should work without including anything form libffi
Added Paths: ----------- ipcop/trunk/config/rootfiles/common/libffi ipcop/trunk/lfs/libffi Added: ipcop/trunk/config/rootfiles/common/libffi =================================================================== --- ipcop/trunk/config/rootfiles/common/libffi (rev 0) +++ ipcop/trunk/config/rootfiles/common/libffi 2012-03-31 08:20:20 UTC (rev 6518) @@ -0,0 +1,13 @@ +#usr/lib/libffi-3.0.10 +#usr/lib/libffi-3.0.10/include +#usr/lib/libffi-3.0.10/include/ffi.h +#usr/lib/libffi-3.0.10/include/ffitarget.h +#usr/lib/libffi.la +#usr/lib/libffi.so +#usr/lib/libffi.so.5 +#usr/lib/libffi.so.5.0.10 +#usr/lib/pkgconfig/libffi.pc +#usr/share/info/libffi.info +#usr/share/man/man3/ffi.3 +#usr/share/man/man3/ffi_call.3 +#usr/share/man/man3/ffi_prep_cif.3 Added: ipcop/trunk/lfs/libffi =================================================================== --- ipcop/trunk/lfs/libffi (rev 0) +++ ipcop/trunk/lfs/libffi 2012-03-31 08:20:20 UTC (rev 6518) @@ -0,0 +1,94 @@ +############################################################################### +# This file is part of the IPCop Firewall. # +# # +# IPCop is free software; you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation; either version 2 of the License, or # +# (at your option) any later version. # +# # +# IPCop is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with IPCop; if not, write to the Free Software # +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# # +# Makefiles are based on LFSMake, which is # +# Copyright (C) 2002 Rod Roard <r...@sunsetsystems.com> # +# # +# Modifications by: # +# ??-12-2003 Mark Wormgoor < m...@wormgoor.com> # +# - Modified Makefile for IPCop build # +# # +# $Id: popt 4793 2010-08-07 20:44:05Z owes $ +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +PKG_NAME = libffi +VER = 3.0.10 +HOST_ARCH = all +OTHER_SRC = yes + +THISAPP = $(PKG_NAME)-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = ftp://sourceware.org/pub/$(PKG_NAME) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 79390673f5d07a8fb342bc09b5055b6f + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(firstword $(MAKEFILE_LIST)) $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xf $(DIR_DL)/$(DL_FILE) + + cd $(DIR_APP) && ./configure --prefix=/usr --disable-static + cd $(DIR_APP) && make +ifeq "$(RUNNING_TEST)" "yes" + # continue testing on error with -k + -cd $(DIR_APP); make -j 1 -k check &> $(DIR_TEST)/$(THISAPP)-$(STAGE_ORDER).log +endif + cd $(DIR_APP) && make install + + @rm -rf $(DIR_APP) + $(POSTBUILD) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn