wok rev 20374

Add xorg-xf86-video-modesetting
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 12 13:38:11 2018 +0200 (8 days ago)
parents eb719d357888
children 4ed9d8ca19d9
files xorg-xf86-video-modesetting/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorg-xf86-video-modesetting/receipt	Tue Jun 12 13:38:11 2018 +0200
     1.3 @@ -0,0 +1,43 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xorg-xf86-video-modesetting"
     1.7 +VERSION="0.9.0"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Xorg generic modesetting video driver."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="MIT"
    1.12 +SOURCE="xf86-video-modesetting"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://www.x.org/"
    1.15 +WGET_URL="$XORG_MIRROR/driver/$TARBALL"
    1.16 +HOST_ARCH="i486 arm"
    1.17 +
    1.18 +# We can use xorg-server-light with evdev and fbdev driver.
    1.19 +#DEPENDS="xorg-server"
    1.20 +BUILD_DEPENDS="xorg-server-dev"
    1.21 +
    1.22 +# ARM use build system xorg-server-dev or manually install it in sysroot
    1.23 +case "$ARCH" in
    1.24 +	arm) BUILD_DEPENDS="" ;;
    1.25 +esac
    1.26 +
    1.27 +# Rules to configure and make the package.
    1.28 +compile_rules()
    1.29 +{
    1.30 +	./configure \
    1.31 +		--prefix=/usr \
    1.32 +		--sysconfdir=/etc \
    1.33 +		--localstatedir=/var \
    1.34 +		--with-xorg-module-dir=/usr/lib/X11/modules \
    1.35 +		$CONFIGURE_ARGS &&
    1.36 +	make && make install
    1.37 +}
    1.38 +
    1.39 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 +genpkg_rules()
    1.41 +{
    1.42 +	mkdir -p $fs/usr/lib/X11/modules/drivers/
    1.43 +    cp -a $install/usr/lib/X11/modules/drivers/*.so \
    1.44 +    	$fs/usr/lib/X11/modules/drivers/
    1.45 +}
    1.46 +