wok-next view physfs/receipt @ rev 15659
c_icap: do not start daemon while cooking
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 12 07:48:19 2013 +0000 (2013-12-12) |
parents | 6e24618e3b76 |
children | 8940878905f3 |
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 LICENSE="LGPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://icculus.org/physfs/"
11 WGET_URL="http://icculus.org/physfs/downloads/$TARBALL"
13 BUILD_DEPENDS="cmake wget"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 export CFLAGS="-Wno-error=unused-but-set-variable"
20 cmake $src &&
21 cmake -DCMAKE_INSTALL_PREFIX=/usr \
22 -DPHYSFS_BUILD_SHARED=ON \
23 -DPHYSFS_BUILD_TEST=OFF \
24 -DPHYSFS_BUILD_WX_TEST=OFF \
25 -DPHYSFS_INTERNAL_ZLIB=OFF . &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }