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

updated ecm and ecm-extras again (1.03 -> 1.06)
author Hans-G?nter Theisgen
date Fri Jan 17 14:46:11 2020 +0100 (2020-01-17)
parents 51a1ebbda768
children 1c3d6bf88894
line source
1 # SliTaz package receipt.
3 PACKAGE="physfs"
4 VERSION="3.0.1"
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 }