wok-next annotate physfs/receipt @ rev 14309
Up: ethumb-dev (1.7.5)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Apr 07 10:20:34 2013 +0200 (2013-04-07) |
parents | 7a849d93caa3 |
children | 6e24618e3b76 |
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" |
slaxemulator@8767 | 11 BUILD_DEPENDS="cmake wget" |
slaxemulator@6549 | 12 |
slaxemulator@6549 | 13 # Rules to configure and make the package. |
slaxemulator@6549 | 14 compile_rules() |
slaxemulator@6549 | 15 { |
slaxemulator@6549 | 16 cd $src |
slaxemulator@6549 | 17 cmake $src && |
slaxemulator@6549 | 18 cmake -DCMAKE_INSTALL_PREFIX=/usr \ |
slaxemulator@6549 | 19 -DPHYSFS_BUILD_SHARED=ON \ |
slaxemulator@6549 | 20 -DPHYSFS_BUILD_TEST=OFF \ |
slaxemulator@6549 | 21 -DPHYSFS_BUILD_WX_TEST=OFF \ |
slaxemulator@6549 | 22 -DPHYSFS_INTERNAL_ZLIB=OFF . && |
slaxemulator@6549 | 23 make DESTDIR=$PWD/_pkg install |
slaxemulator@6549 | 24 } |
slaxemulator@6549 | 25 |
slaxemulator@6549 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6549 | 27 genpkg_rules() |
slaxemulator@6549 | 28 { |
slaxemulator@6549 | 29 mkdir -p $fs/usr/lib |
slaxemulator@6549 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6549 | 31 } |