wok-current annotate physfs/receipt @ rev 22481
updated ansible (1.5.3 -> 2.9.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Dec 30 14:41:15 2019 +0100 (2019-12-30) |
parents | 51a1ebbda768 |
children | 1c3d6bf88894 |
rev | line source |
---|---|
slaxemulator@6549 | 1 # SliTaz package receipt. |
slaxemulator@6549 | 2 |
slaxemulator@6549 | 3 PACKAGE="physfs" |
Hans-G?nter@21681 | 4 VERSION="3.0.1" |
slaxemulator@6549 | 5 CATEGORY="development" |
Hans-G?nter@21681 | 6 SHORT_DESC="Abstraction layer for filesystem and archive access." |
slaxemulator@6549 | 7 MAINTAINER="devl547@gmail.com" |
pascal@15375 | 8 LICENSE="LGPL" |
Hans-G?nter@21681 | 9 WEB_SITE="https://icculus.org/physfs/" |
pascal@15112 | 10 |
Hans-G?nter@21681 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@21681 | 12 WGET_URL="${WEB_SITE}downloads/$TARBALL" |
Hans-G?nter@21681 | 13 |
Hans-G?nter@21681 | 14 BUILD_DEPENDS="cmake" |
slaxemulator@6549 | 15 |
slaxemulator@6549 | 16 # Rules to configure and make the package. |
slaxemulator@6549 | 17 compile_rules() |
slaxemulator@6549 | 18 { |
pascal@15112 | 19 export CFLAGS="-Wno-error=unused-but-set-variable" |
Hans-G?nter@21681 | 20 |
slaxemulator@6549 | 21 cmake $src && |
Hans-G?nter@21681 | 22 cmake . \ |
Hans-G?nter@21681 | 23 -DCMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@21681 | 24 -DPHYSFS_BUILD_SHARED=ON \ |
Hans-G?nter@21681 | 25 -DPHYSFS_BUILD_TEST=OFF && |
pascal@15112 | 26 make DESTDIR=$DESTDIR install |
slaxemulator@6549 | 27 } |
slaxemulator@6549 | 28 |
slaxemulator@6549 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6549 | 30 genpkg_rules() |
slaxemulator@6549 | 31 { |
slaxemulator@6549 | 32 mkdir -p $fs/usr/lib |
pascal@15112 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6549 | 34 } |