wok-next diff xorg-xf86-video-fbturbo/receipt @ rev 19665

cookutils: up 892
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 17 15:07:45 2017 +0200 (2017-03-17)
parents
children ea3c4b76ea5d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorg-xf86-video-fbturbo/receipt	Fri Mar 17 15:07:45 2017 +0200
     1.3 @@ -0,0 +1,39 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xorg-xf86-video-fbturbo"
     1.7 +VERSION="0.2.0"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Xorg DDX driver for ARM devices (Allwinner, RPi and others)."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="MIT"
    1.12 +SOURCE="xf86-video-fbturbo"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 +WEB_SITE="https://github.com/ssvb/xf86-video-fbturbo"
    1.15 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
    1.16 +HOST_ARCH="i486 arm"
    1.17 +
    1.18 +# 0.4.0 ---> fatal error: dri2.h: No such file or directory
    1.19 +#
    1.20 +# We must have DRI support into Xorg server. This is not the case 
    1.21 +# actually because I stripped down Xorg build since it mesa are not
    1.22 +# ported yet.
    1.23 +
    1.24 +BUILD_DEPENDS="xorg-server-dev"
    1.25 +
    1.26 +# Rules to configure and make the package.
    1.27 +compile_rules()
    1.28 +{
    1.29 +	autoreconf -vi
    1.30 +	./configure \
    1.31 +		--with-xorg-module-dir=/usr/lib/X11/modules \
    1.32 +		$CONFIGURE_ARGS &&
    1.33 +	make && make install
    1.34 +}
    1.35 +
    1.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 +genpkg_rules()
    1.38 +{
    1.39 +	mkdir -p $fs/usr/lib/X11/modules/drivers/
    1.40 +    cp -a $install/usr/lib/X11/modules/drivers/*.so \
    1.41 +    	$fs/usr/lib/X11/modules/drivers/
    1.42 +}