wok-6.x view physfs/receipt @ rev 23433

updated physfs and physfs-dev (3.0.1 -> 3.0.2)
author Hans-G?nter Theisgen
date Wed Apr 01 17:36:27 2020 +0100 (2020-04-01)
parents 09e7c7aade33
children 83b97236db32
line source
1 # SliTaz package receipt.
3 PACKAGE="physfs"
4 VERSION="3.0.2"
5 CATEGORY="development"
6 SHORT_DESC="Abstraction layer for filesystem and archive access."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="LGPL"
9 WEB_SITE="https://icculus.org/physfs/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="${WEB_SITE}downloads/$TARBALL"
14 BUILD_DEPENDS="cmake"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export CFLAGS="-Wno-error=unused-but-set-variable"
21 cmake $src &&
22 cmake . \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 -DPHYSFS_BUILD_SHARED=ON \
25 -DPHYSFS_BUILD_TEST=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 }