wok diff dfbterm/receipt @ rev 16411

Up: nimrod (0.9.2)
author Alexander Medvedev <devl547@gmail.com>
date Thu Apr 17 11:15:22 2014 +0400 (2014-04-17)
parents
children b9659e3c2111
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dfbterm/receipt	Thu Apr 17 11:15:22 2014 +0400
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="dfbterm"
     1.7 +VERSION="0.8.15"
     1.8 +CATEGORY="graphics"
     1.9 +SHORT_DESC="DirectFB Terminal emulator."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +SOURCE="DFBTerm"
    1.13 +TARBALL="${SOURCE}-${VERSION}.tar.gz"
    1.14 +WEB_SITE="http://www.directfb.org/index.php?path=Projects/DFBTerm"
    1.15 +WGET_URL="http://www.directfb.org/downloads/Programs/$TARBALL"
    1.16 +HOST_ARCH="i486 arm"
    1.17 +
    1.18 +DEPENDS="directfb lite freetype"
    1.19 +BUILD_DEPENDS="directfb-dev lite-dev freetype-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/sbin $fs/usr
    1.35 +}
    1.36 +
    1.37 +# Make sur it as cross compile properly
    1.38 +testsuite()
    1.39 +{
    1.40 +	readelf -h $install/usr/bin/$PACKAGE
    1.41 +}