wok view physfs/receipt @ rev 15306
gkII: add libm
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 27 13:31:06 2013 +0000 (2013-09-27) |
parents | 880be3c81313 |
children | 51a1ebbda768 |
line source
1 # SliTaz package receipt.
3 PACKAGE="physfs"
4 VERSION="2.0.2"
5 CATEGORY="development"
6 SHORT_DESC="Abstraction layer for filesystem and archive access"
7 MAINTAINER="devl547@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://icculus.org/physfs/"
10 WGET_URL="http://icculus.org/physfs/downloads/$TARBALL"
12 BUILD_DEPENDS="cmake wget"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 export CFLAGS="-Wno-error=unused-but-set-variable"
19 cmake $src &&
20 cmake -DCMAKE_INSTALL_PREFIX=/usr \
21 -DPHYSFS_BUILD_SHARED=ON \
22 -DPHYSFS_BUILD_TEST=OFF \
23 -DPHYSFS_BUILD_WX_TEST=OFF \
24 -DPHYSFS_INTERNAL_ZLIB=OFF . &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }