wok view xorg-xf86-video-fbdev/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents 14f4f53d8750
children 5d79829fa876
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-fbdev"
4 VERSION="0.5.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg video driver for framebuffer device."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="xf86-video-fbdev"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="https://www.x.org/"
12 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
13 HOST_ARCH="i486 arm"
15 # We can use xorg-server-light with evdev and fbdev driver.
16 #DEPENDS="xorg-server"
17 BUILD_DEPENDS="xorg-server-dev"
19 # ARM use build system xorg-server-dev or manually install it in sysroot
20 case "$ARCH" in
21 arm) BUILD_DEPENDS="" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # xorg-server 1.12.4 support hack...
28 sed -i -e 's/\(fbdevHWSwitchMode.*\));/\1, 0);/' \
29 -e 's/\(fbdevHWAdjustFrame.*\)y);/\1y, 0);/' \
30 -e 's/\(fbdevHWEnterVT.*\));/\1, 0);/' \
31 -e 's/\(fbdevHWLeaveVT.*\));/\1, 0);/' \
32 src/fbdev.c
34 ./configure \
35 --prefix=/usr \
36 --sysconfdir=/etc \
37 --localstatedir=/var \
38 --with-xorg-module-dir=/usr/lib/X11/modules \
39 $CONFIGURE_ARGS &&
40 make && make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib/X11/modules/drivers/
47 cp -a $install/usr/lib/X11/modules/drivers/*.so \
48 $fs/usr/lib/X11/modules/drivers/
49 }