wok view physfs/receipt @ rev 21677

updated pgbadger (8.0 -> 10.3)
author Hans-G?nter Theisgen
date Sun Jun 02 10:21:17 2019 +0100 (2019-06-02)
parents 6e24618e3b76
children 09e7c7aade33
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 }