wok-next view xorg-xf86-video-fbturbo/receipt @ rev 20458

Unlock x86_64 architecture
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 02 12:12:14 2018 +0200 (2018-03-02)
parents ea3c4b76ea5d
children 757d032c55c7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-xf86-video-fbturbo"
4 VERSION="0.2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg DDX driver for ARM devices (Allwinner, RPi and others)"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/ssvb/xf86-video-fbturbo"
11 TARBALL="xf86-video-fbturbo-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
14 # 0.4.0 ---> fatal error: dri2.h: No such file or directory
15 #
16 # We must have DRI support into Xorg server. This is not the case
17 # actually because I stripped down Xorg build since it mesa are not
18 # ported yet.
20 BUILD_DEPENDS="xorg-server-dev"
21 SPLIT="xorg-xf86-video-fbturbo-dev"
22 PKG_RULE="std-dev"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 autoreconf -vi
28 ./configure \
29 --sysconfdir=/etc \
30 --localstatedir=/var \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 case $PACKAGE in
40 *-fbturbo)
41 copy @std
42 DEPENDS="xorg-server"
43 ;;
44 *-dev)
45 copy @dev
46 DEPENDS="xorg-xf86-video-fbturbo xorg-server-dev"
47 ;;
48 esac
49 }