wok-next view physfs/receipt @ rev 20079
Up emacs (2.53)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 25 11:21:45 2017 +0200 (2017-10-25) |
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 }