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/.md5sum.i686 | 2 +- physfs/.md5sum.x86_64 | 2 +- physfs/Pkgfile | 11 ++++++++--- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/physfs/.md5sum.i686 b/physfs/.md5sum.i686 index 65873d0c7..99596e339 100644 --- a/physfs/.md5sum.i686 +++ b/physfs/.md5sum.i686 @@ -1 +1 @@ -d0bd118c6b55fb1e020fe982d6ec6957 physfs-1.0.1.tar.gz +4e8927c3d30279b03e2592106eb9184a physfs-2.0.2.tar.gz diff --git a/physfs/.md5sum.x86_64 b/physfs/.md5sum.x86_64 index 65873d0c7..99596e339 100644 --- a/physfs/.md5sum.x86_64 +++ b/physfs/.md5sum.x86_64 @@ -1 +1 @@ -d0bd118c6b55fb1e020fe982d6ec6957 physfs-1.0.1.tar.gz +4e8927c3d30279b03e2592106eb9184a physfs-2.0.2.tar.gz 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-70-g09d2