wok-current view physfs/receipt @ rev 22230
updated xorg-libXv and xorg-libXv-dev (1.0.8 -> 1.0.11)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Nov 12 08:16:26 2019 +0100 (2019-11-12) |
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 }