wok annotate physfs/receipt @ rev 20243
linux-api-headers, linux-uml: fix KBASEVER
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 10 14:32:23 2018 +0100 (2018-03-10) |
parents | 6e24618e3b76 |
children | 09e7c7aade33 |
rev | line source |
---|---|
slaxemulator@6549 | 1 # SliTaz package receipt. |
slaxemulator@6549 | 2 |
slaxemulator@6549 | 3 PACKAGE="physfs" |
slaxemulator@8753 | 4 VERSION="2.0.2" |
slaxemulator@6549 | 5 CATEGORY="development" |
slaxemulator@6549 | 6 SHORT_DESC="Abstraction layer for filesystem and archive access" |
slaxemulator@6549 | 7 MAINTAINER="devl547@gmail.com" |
pascal@15375 | 8 LICENSE="LGPL" |
slaxemulator@6549 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6549 | 10 WEB_SITE="http://icculus.org/physfs/" |
slaxemulator@8767 | 11 WGET_URL="http://icculus.org/physfs/downloads/$TARBALL" |
pascal@15112 | 12 |
slaxemulator@8767 | 13 BUILD_DEPENDS="cmake wget" |
slaxemulator@6549 | 14 |
slaxemulator@6549 | 15 # Rules to configure and make the package. |
slaxemulator@6549 | 16 compile_rules() |
slaxemulator@6549 | 17 { |
slaxemulator@6549 | 18 cd $src |
pascal@15112 | 19 export CFLAGS="-Wno-error=unused-but-set-variable" |
slaxemulator@6549 | 20 cmake $src && |
slaxemulator@6549 | 21 cmake -DCMAKE_INSTALL_PREFIX=/usr \ |
slaxemulator@6549 | 22 -DPHYSFS_BUILD_SHARED=ON \ |
slaxemulator@6549 | 23 -DPHYSFS_BUILD_TEST=OFF \ |
slaxemulator@6549 | 24 -DPHYSFS_BUILD_WX_TEST=OFF \ |
slaxemulator@6549 | 25 -DPHYSFS_INTERNAL_ZLIB=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 } |