wok-6.x diff physfs/receipt @ rev 7748

Add libtasn1-dev to gnutls-dev depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Dec 20 19:14:47 2010 +0000 (2010-12-20)
parents
children 7a849d93caa3
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/physfs/receipt	Mon Dec 20 19:14:47 2010 +0000
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="physfs"
     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 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://icculus.org/physfs/"
    1.13 +WGET_URL="ftp://ftp.tiscali.nl/pub/mirror/gentoo/distfiles/$TARBALL"
    1.14 +BUILD_DEPENDS="cmake"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	cmake $src &&
    1.21 +	cmake -DCMAKE_INSTALL_PREFIX=/usr \
    1.22 +	-DPHYSFS_BUILD_SHARED=ON \
    1.23 +	-DPHYSFS_BUILD_TEST=OFF \
    1.24 +	-DPHYSFS_BUILD_WX_TEST=OFF \
    1.25 +	-DPHYSFS_INTERNAL_ZLIB=OFF .	&&
    1.26 +	make DESTDIR=$PWD/_pkg install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr/lib
    1.33 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.34 +}