wok-current view xorg-xf86-video-fbturbo/receipt @ rev 25365

cpige: apply gibor patch (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 28 15:03:09 2022 +0000 (2022-07-28)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-fbturbo"
4 VERSION="0.4.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 SOURCE="xf86-video-fbturbo"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
15 BUILD_DEPENDS="xorg-server-dev"
17 HOST_ARCH="i486 arm"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 autoreconf -vi
29 ./configure \
30 --with-xorg-module-dir=/usr/lib/X11/modules \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib/X11/modules/drivers
40 cp -a $install/usr/lib/X11/modules/drivers/*.so \
41 $fs/usr/lib/X11/modules/drivers/
42 }