summaryrefslogtreecommitdiffstats
path: root/physfs/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.servegame.org>2012-08-05 23:55:07 +0200
committerpiernov <piernov@piernov.servegame.org>2012-08-05 23:55:07 +0200
commitf7f15b74ba74267df1a3c6c1838cc10d93ead5d1 (patch)
treede403a7178a10ffed1bcf70946c08772cec348ca /physfs/Pkgfile
parenta3d685cdd9abc6a4db8fcbe243120b25241b68b2 (diff)
downloadnutyx-extra-f7f15b74ba74267df1a3c6c1838cc10d93ead5d1.tar.gz
nutyx-extra-f7f15b74ba74267df1a3c6c1838cc10d93ead5d1.tar.bz2
nutyx-extra-f7f15b74ba74267df1a3c6c1838cc10d93ead5d1.tar.xz
nutyx-extra-f7f15b74ba74267df1a3c6c1838cc10d93ead5d1.zip
physfs 2.0.2-1 màj port
Diffstat (limited to 'physfs/Pkgfile')
-rw-r--r--physfs/Pkgfile11
1 files changed, 8 insertions, 3 deletions
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
}