wok-6.x view physfs/receipt @ rev 10726
libtaz: Don't need to check /usr/bin/hg anymore. Best to get the tag 1.1.2 version. May need to delete the slitaz-dev-tools-1.1.2.tar.bz2 source on tank to make sure we have the tag version.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 28 20:44:37 2011 +0000 (2011-05-28) |
parents | 7a849d93caa3 |
children | 6e24618e3b76 |
line source
1 # SliTaz package receipt.
3 PACKAGE="physfs"
4 VERSION="2.0.2"
5 CATEGORY="development"
6 SHORT_DESC="Abstraction layer for filesystem and archive access"
7 MAINTAINER="devl547@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://icculus.org/physfs/"
10 WGET_URL="http://icculus.org/physfs/downloads/$TARBALL"
11 BUILD_DEPENDS="cmake wget"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 cmake $src &&
18 cmake -DCMAKE_INSTALL_PREFIX=/usr \
19 -DPHYSFS_BUILD_SHARED=ON \
20 -DPHYSFS_BUILD_TEST=OFF \
21 -DPHYSFS_BUILD_WX_TEST=OFF \
22 -DPHYSFS_INTERNAL_ZLIB=OFF . &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }