wok-current view physfs/receipt @ rev 20034

Up get-palemoon (27.4.2), smtube (17.5.0)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu Aug 24 01:39:28 2017 +0200 (2017-08-24)
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 }