wok-next annotate 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 |
rev | line source |
---|---|
al@19805 | 1 # SliTaz package receipt v2. |
pankso@16468 | 2 |
pankso@16468 | 3 PACKAGE="xorg-xf86-video-fbturbo" |
pankso@16468 | 4 VERSION="0.2.0" |
pankso@16468 | 5 CATEGORY="x-window" |
al@19805 | 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 WEB_SITE="https://github.com/ssvb/xf86-video-fbturbo" |
al@19805 | 10 |
al@19805 | 11 TARBALL="xf86-video-fbturbo-$VERSION.tar.gz" |
pankso@16468 | 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
pankso@16468 | 13 |
pankso@16468 | 14 # 0.4.0 ---> fatal error: dri2.h: No such file or directory |
pankso@16468 | 15 # |
pankso@16468 | 16 # We must have DRI support into Xorg server. This is not the case |
pankso@16468 | 17 # actually because I stripped down Xorg build since it mesa are not |
pankso@16468 | 18 # ported yet. |
pankso@16468 | 19 |
pankso@16468 | 20 BUILD_DEPENDS="xorg-server-dev" |
al@19805 | 21 SPLIT="xorg-xf86-video-fbturbo-dev" |
al@19805 | 22 PKG_RULE="std-dev" |
pankso@16468 | 23 |
pankso@16468 | 24 # Rules to configure and make the package. |
pankso@16468 | 25 compile_rules() |
pankso@16468 | 26 { |
pankso@16468 | 27 autoreconf -vi |
pankso@16468 | 28 ./configure \ |
al@19805 | 29 --sysconfdir=/etc \ |
al@19805 | 30 --localstatedir=/var \ |
pankso@16468 | 31 $CONFIGURE_ARGS && |
al@19805 | 32 make && |
al@19805 | 33 make install |
pankso@16468 | 34 } |
pankso@16468 | 35 |
pankso@16468 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16468 | 37 genpkg_rules() |
pankso@16468 | 38 { |
al@19805 | 39 case $PACKAGE in |
al@19805 | 40 *-fbturbo) |
al@19805 | 41 copy @std |
al@19805 | 42 DEPENDS="xorg-server" |
al@19805 | 43 ;; |
al@19805 | 44 *-dev) |
al@19805 | 45 copy @dev |
al@19805 | 46 DEPENDS="xorg-xf86-video-fbturbo xorg-server-dev" |
al@19805 | 47 ;; |
al@19805 | 48 esac |
pankso@16468 | 49 } |