wok-next rev 6549

Up: physfs, physfs-dev to 2.0.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 07 12:25:24 2010 +0000 (2010-10-07)
parents 622502bfcbac
children 16bab9b1da6d
files physfs-dev/receipt physfs/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/physfs-dev/receipt	Thu Oct 07 12:25:24 2010 +0000
     1.3 @@ -0,0 +1,17 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="physfs-dev"
     1.7 +VERSION="2.0.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Abstraction layer for filesystem and archive access"
    1.10 +MAINTAINER="devl547@gmail.com"
    1.11 +WANTED="physfs"
    1.12 +WEB_SITE="http://icculus.org/physfs/"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/lib
    1.18 +	cp -a $_pkg/usr/include $fs/usr
    1.19 +	cp $_pkg/usr/lib/*.a $fs/usr/lib
    1.20 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/physfs/receipt	Thu Oct 07 12:25:24 2010 +0000
     2.3 @@ -0,0 +1,31 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="physfs"
     2.7 +VERSION="2.0.1"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Abstraction layer for filesystem and archive access"
    2.10 +MAINTAINER="devl547@gmail.com"
    2.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.12 +WEB_SITE="http://icculus.org/physfs/"
    2.13 +WGET_URL="ftp://ftp.tiscali.nl/pub/mirror/gentoo/distfiles/$TARBALL"
    2.14 +BUILD_DEPENDS="cmake"
    2.15 +
    2.16 +# Rules to configure and make the package.
    2.17 +compile_rules()
    2.18 +{
    2.19 +	cd $src
    2.20 +	cmake $src &&
    2.21 +	cmake -DCMAKE_INSTALL_PREFIX=/usr \
    2.22 +	-DPHYSFS_BUILD_SHARED=ON \
    2.23 +	-DPHYSFS_BUILD_TEST=OFF \
    2.24 +	-DPHYSFS_BUILD_WX_TEST=OFF \
    2.25 +	-DPHYSFS_INTERNAL_ZLIB=OFF .	&&
    2.26 +	make DESTDIR=$PWD/_pkg install
    2.27 +}
    2.28 +
    2.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.30 +genpkg_rules()
    2.31 +{
    2.32 +	mkdir -p $fs/usr/lib
    2.33 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.34 +}