wok-current view physfs/receipt @ rev 15134
yad, yad-gtk3: up 0.22.1 (yad-gtk3 may break); iso-codes up 3.45
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Aug 15 11:23:37 2013 +0300 (2013-08-15) |
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 }