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

clamtk: replaced perl-gtk2 by perl-gtk3
author Hans-G?nter Theisgen
date Fri Feb 11 09:25:31 2022 +0100 (2022-02-11)
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 }