wok-current annotate physfs/receipt @ rev 24314
updated vlgothic-fonts (20141206 -> 20200720)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jan 22 13:28:11 2022 +0100 (2022-01-22) |
parents | 09e7c7aade33 |
children | 83b97236db32 |
rev | line source |
---|---|
slaxemulator@6549 | 1 # SliTaz package receipt. |
slaxemulator@6549 | 2 |
slaxemulator@6549 | 3 PACKAGE="physfs" |
Hans-G?nter@23433 | 4 VERSION="3.0.2" |
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 && |
Hans-G?nter@23433 | 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 |
Hans-G?nter@23433 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6549 | 34 } |