wok-next annotate xorg-xf86-video-fbturbo/receipt @ rev 19941
gst0-ffmpeg*: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 15 19:06:21 2017 +0200 (2017-10-15) |
parents | 94128ce5fcfd |
children | c4e53a39395a |
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 HOST_ARCH="i486 arm" |
al@19805 | 11 |
al@19805 | 12 TARBALL="xf86-video-fbturbo-$VERSION.tar.gz" |
pankso@16468 | 13 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
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" |
al@19805 | 22 SPLIT="xorg-xf86-video-fbturbo-dev" |
al@19805 | 23 PKG_RULE="std-dev" |
pankso@16468 | 24 |
pankso@16468 | 25 # Rules to configure and make the package. |
pankso@16468 | 26 compile_rules() |
pankso@16468 | 27 { |
pankso@16468 | 28 autoreconf -vi |
pankso@16468 | 29 ./configure \ |
al@19805 | 30 --sysconfdir=/etc \ |
al@19805 | 31 --localstatedir=/var \ |
pankso@16468 | 32 $CONFIGURE_ARGS && |
al@19805 | 33 make && |
al@19805 | 34 make install |
pankso@16468 | 35 } |
pankso@16468 | 36 |
pankso@16468 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16468 | 38 genpkg_rules() |
pankso@16468 | 39 { |
al@19805 | 40 case $PACKAGE in |
al@19805 | 41 *-fbturbo) |
al@19805 | 42 copy @std |
al@19805 | 43 DEPENDS="xorg-server" |
al@19805 | 44 ;; |
al@19805 | 45 *-dev) |
al@19805 | 46 copy @dev |
al@19805 | 47 DEPENDS="xorg-xf86-video-fbturbo xorg-server-dev" |
al@19805 | 48 ;; |
al@19805 | 49 esac |
pankso@16468 | 50 } |