SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

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

# SliTaz package receipt.

PACKAGE="xorg-xf86-video-amdgpu"
VERSION="21.0.0"
CATEGORY="x-window"
SHORT_DESC="Xorg server AMDGPU driver."
MAINTAINER="maintainer@slitaz.org"
LICENSE="MIT"
SOURCE="xf86-video-amdgpu"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="https://www.x.org/"
WGET_URL="$XORG_MIRROR/driver/$TARBALL"
TAGS="xorg display"

DEPENDS="xorg-server mesa-dri"
BUILD_DEPENDS="xorg-server-dev libpthread-stubs-dev xorg-xf86driproto"

MODS='/usr/lib/X11/modules'

HOST_ARCH="i486 x86_64"

current_version()
{
    wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure \
        --sysconfdir=/etc \
        --mandir=/usr/share/man \
        --localstatedir=/var \
        --with-xorg-module-dir=$MODS \
        --enable-glamor \
        $CONFIGURE_ARGS &&
    make && make install
}

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