wok-current annotate xorg-xf86-video-fbdev/receipt @ rev 23103

updated libssh and libssh-dev (0.8.7 -> 0.9.3)
author Hans-G?nter Theisgen
date Thu Mar 12 11:22:59 2020 +0100 (2020-03-12)
parents 14f4f53d8750
children 5d79829fa876
rev   line source
pankso@11888 1 # SliTaz package receipt.
pankso@11888 2
pankso@11888 3 PACKAGE="xorg-xf86-video-fbdev"
pascal@20380 4 VERSION="0.5.0"
pankso@11888 5 CATEGORY="x-window"
pankso@11888 6 SHORT_DESC="Xorg video driver for framebuffer device."
pankso@11888 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="MIT"
pankso@11888 9 SOURCE="xf86-video-fbdev"
pankso@11888 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@20423 11 WEB_SITE="https://www.x.org/"
pankso@11888 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
pankso@16067 13 HOST_ARCH="i486 arm"
pankso@11888 14
pankso@16067 15 # We can use xorg-server-light with evdev and fbdev driver.
pankso@11888 16 #DEPENDS="xorg-server"
pankso@11888 17 BUILD_DEPENDS="xorg-server-dev"
pankso@11888 18
pankso@16067 19 # ARM use build system xorg-server-dev or manually install it in sysroot
pankso@16067 20 case "$ARCH" in
pankso@16067 21 arm) BUILD_DEPENDS="" ;;
pankso@16067 22 esac
pankso@16067 23
pankso@11888 24 # Rules to configure and make the package.
pankso@11888 25 compile_rules()
pankso@11888 26 {
pascal@20382 27 # xorg-server 1.12.4 support hack...
pascal@20382 28 sed -i -e 's/\(fbdevHWSwitchMode.*\));/\1, 0);/' \
pascal@20382 29 -e 's/\(fbdevHWAdjustFrame.*\)y);/\1y, 0);/' \
pascal@20382 30 -e 's/\(fbdevHWEnterVT.*\));/\1, 0);/' \
pascal@20382 31 -e 's/\(fbdevHWLeaveVT.*\));/\1, 0);/' \
pascal@20382 32 src/fbdev.c
pascal@20382 33
pankso@11888 34 ./configure \
pankso@11888 35 --prefix=/usr \
pankso@11888 36 --sysconfdir=/etc \
pankso@11888 37 --localstatedir=/var \
pankso@11888 38 --with-xorg-module-dir=/usr/lib/X11/modules \
pankso@11888 39 $CONFIGURE_ARGS &&
pankso@11888 40 make && make install
pankso@11888 41 }
pankso@11888 42
pankso@11888 43 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@11888 44 genpkg_rules()
pankso@11888 45 {
pankso@11888 46 mkdir -p $fs/usr/lib/X11/modules/drivers/
pascal@20380 47 cp -a $install/usr/lib/X11/modules/drivers/*.so \
pascal@20380 48 $fs/usr/lib/X11/modules/drivers/
pankso@11888 49 }