wok-current annotate xorg-xf86-video-fbturbo/receipt @ rev 20540

linld: _fastcall calls (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 29 12:11:44 2018 +0100 (2018-11-29)
parents
children d133cdf4d993
rev   line source
pankso@16468 1 # SliTaz package receipt.
pankso@16468 2
pankso@16468 3 PACKAGE="xorg-xf86-video-fbturbo"
pankso@16468 4 VERSION="0.2.0"
pankso@16468 5 CATEGORY="x-window"
pankso@16468 6 SHORT_DESC="Xorg DDX driver for ARM devices (Allwinner, RPi and others)."
pankso@16468 7 MAINTAINER="pankso@slitaz.org"
pankso@16468 8 LICENSE="MIT"
pankso@16468 9 SOURCE="xf86-video-fbturbo"
pankso@16468 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pankso@16468 11 WEB_SITE="https://github.com/ssvb/xf86-video-fbturbo"
pankso@16468 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
pankso@16468 13 HOST_ARCH="i486 arm"
pankso@16468 14
pankso@16468 15 # 0.4.0 ---> fatal error: dri2.h: No such file or directory
pankso@16468 16 #
pankso@16468 17 # We must have DRI support into Xorg server. This is not the case
pankso@16468 18 # actually because I stripped down Xorg build since it mesa are not
pankso@16468 19 # ported yet.
pankso@16468 20
pankso@16468 21 BUILD_DEPENDS="xorg-server-dev"
pankso@16468 22
pankso@16468 23 # Rules to configure and make the package.
pankso@16468 24 compile_rules()
pankso@16468 25 {
pankso@16468 26 autoreconf -vi
pankso@16468 27 ./configure \
pankso@16468 28 --with-xorg-module-dir=/usr/lib/X11/modules \
pankso@16468 29 $CONFIGURE_ARGS &&
pankso@16468 30 make && make install
pankso@16468 31 }
pankso@16468 32
pankso@16468 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16468 34 genpkg_rules()
pankso@16468 35 {
pankso@16468 36 mkdir -p $fs/usr/lib/X11/modules/drivers/
pankso@16468 37 cp -a $install/usr/lib/X11/modules/drivers/*.so \
pankso@16468 38 $fs/usr/lib/X11/modules/drivers/
pankso@16468 39 }