SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xorg-xf86-video-fbturbo"

# SliTaz package receipt.

PACKAGE="xorg-xf86-video-fbturbo"
VERSION="0.4.0"
CATEGORY="x-window"
SHORT_DESC="Xorg DDX driver for ARM devices (Allwinner, RPi and others)."
MAINTAINER="pankso@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://github.com/ssvb/xf86-video-fbturbo"

SOURCE="xf86-video-fbturbo"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"

BUILD_DEPENDS="xorg-server-dev"

HOST_ARCH="i486 arm"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    autoreconf -vi
    ./configure                        \
        --with-xorg-module-dir=/usr/lib/X11/modules    \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib/X11/modules/drivers
    cp -a $install/usr/lib/X11/modules/drivers/*.so \
        $fs/usr/lib/X11/modules/drivers/
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)