wok-current annotate physfs/receipt @ rev 15205
hg merge
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Sep 09 03:32:26 2013 +0300 (2013-09-09) |
parents | 880be3c81313 |
children | 51a1ebbda768 |
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" |
slaxemulator@6549 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6549 | 9 WEB_SITE="http://icculus.org/physfs/" |
slaxemulator@8767 | 10 WGET_URL="http://icculus.org/physfs/downloads/$TARBALL" |
pascal@15112 | 11 |
slaxemulator@8767 | 12 BUILD_DEPENDS="cmake wget" |
slaxemulator@6549 | 13 |
slaxemulator@6549 | 14 # Rules to configure and make the package. |
slaxemulator@6549 | 15 compile_rules() |
slaxemulator@6549 | 16 { |
slaxemulator@6549 | 17 cd $src |
pascal@15112 | 18 export CFLAGS="-Wno-error=unused-but-set-variable" |
slaxemulator@6549 | 19 cmake $src && |
slaxemulator@6549 | 20 cmake -DCMAKE_INSTALL_PREFIX=/usr \ |
slaxemulator@6549 | 21 -DPHYSFS_BUILD_SHARED=ON \ |
slaxemulator@6549 | 22 -DPHYSFS_BUILD_TEST=OFF \ |
slaxemulator@6549 | 23 -DPHYSFS_BUILD_WX_TEST=OFF \ |
slaxemulator@6549 | 24 -DPHYSFS_INTERNAL_ZLIB=OFF . && |
pascal@15112 | 25 make DESTDIR=$DESTDIR install |
slaxemulator@6549 | 26 } |
slaxemulator@6549 | 27 |
slaxemulator@6549 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6549 | 29 genpkg_rules() |
slaxemulator@6549 | 30 { |
slaxemulator@6549 | 31 mkdir -p $fs/usr/lib |
pascal@15112 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6549 | 33 } |