wok-current view physfs/receipt @ rev 21835

updated re2c (0.13.5 -> 1.2.1)
author Hans-G?nter Theisgen
date Sat Sep 14 10:21:53 2019 +0100 (2019-09-14)
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 }