wok view physfs/receipt @ rev 21425

updated mdadm (3.3.2 -> 4.1)
author Hans-G?nter Theisgen
date Thu Apr 25 16:46:55 2019 +0100 (2019-04-25)
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 }