From f7f15b74ba74267df1a3c6c1838cc10d93ead5d1 Mon Sep 17 00:00:00 2001 From: piernov Date: Sun, 5 Aug 2012 23:55:07 +0200 Subject: physfs 2.0.2-1 màj port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- physfs/Pkgfile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'physfs/Pkgfile') diff --git a/physfs/Pkgfile b/physfs/Pkgfile index 137d6de57..b7dc621df 100644 --- a/physfs/Pkgfile +++ b/physfs/Pkgfile @@ -2,16 +2,21 @@ # URL: http://icculus.org/physfs/ # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch -# Depends on: +# Depends on: cmake name=physfs -version=1.0.1 +version=2.0.2 release=1 source=(http://icculus.org/physfs/downloads/physfs-$version.tar.gz) build() { cd $name-$version - ./configure --prefix=/usr + sed -i 's/-Werror//' CMakeLists.txt + export CFLAGS="$CFLAGS -fno-strict-aliasing" + export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" + cmake . -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DPHYSFS_BUILD_TEST=OFF -DPHYSFS_BUILD_WX_TEST=OFF make make DESTDIR=$PKG install } -- cgit v1.2.3-54-g00ecf