wok diff sawman/receipt @ rev 16374

Up: slitaz-configs (5.4) Getting ready for 5.0-RC1
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 14 19:59:46 2014 +0200 (2014-04-14)
parents
children b7f1bd1b9ac7
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/sawman/receipt	Mon Apr 14 19:59:46 2014 +0200
     1.3 @@ -0,0 +1,39 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="sawman"
     1.7 +VERSION="1.4.3"
     1.8 +CATEGORY="graphics"
     1.9 +SHORT_DESC="DirectFB Window manager"
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +SOURCE="SaWMan"
    1.13 +TARBALL="${SOURCE}-${VERSION}.tar.gz"
    1.14 +WEB_SITE="http://directfb.org/index.php?path=Platform/SaWMan"
    1.15 +WGET_URL="http://directfb.org/downloads/Extras/$TARBALL"
    1.16 +HOST_ARCH="i486 arm"
    1.17 +
    1.18 +DEPENDS="directfb"
    1.19 +BUILD_DEPENDS="directfb-dev"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	 ./configure \
    1.25 +		$CONFIGURE_ARGS &&
    1.26 +	make && make 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 $install/usr/bin $fs/usr
    1.34 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.35 +	cp -a $install/usr/lib/directfb-* $fs/usr/lib
    1.36 +	find $fs/usr/lib -name "*.*a" -exec rm '{}' \;
    1.37 +}
    1.38 +
    1.39 +testsuite()
    1.40 +{
    1.41 +	readelf -h $install/usr/bin/testman
    1.42 +}