SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libdrm"

# SliTaz package receipt.

PACKAGE="libdrm"
VERSION="2.4.25"
CATEGORY="x-window"
SHORT_DESC="Freedesktop DRM Library."
MAINTAINER="pankso@slitaz.org"
DEPENDS="glibc-base udev linux-drm"
BUILD_DEPENDS="xorg-dev xorg-dev-proto libpthread-stubs gc gc-dev pkg-config udev-dev"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://dri.freedesktop.org/"
WGET_URL="http://dri.freedesktop.org/libdrm/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{ 
    cd $src
    ./configure \
        --prefix=/usr \
        --enable-intel \
    --enable-radeon \
    --enable-vmwgfx-experimental-api \
    --enable-nouveau-experimental-api \
    --enable-udev \
        $CONFIGURE_ARGS &&
    make  &&
    make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $_pkg/usr/lib/libdrm.so* $fs/usr/lib
    cp -a $_pkg/usr/lib/libkms*.so* $fs/usr/lib
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)