SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xorg-xf86driproto"

# SliTaz package receipt.

PACKAGE="xorg-xf86driproto"
VERSION="2.1.1"
CATEGORY="development"
SHORT_DESC="XF86DRI extension headers"
MAINTAINER="pankso@slitaz.org"
LICENSE="other"
WEB_SITE="https://www.x.org/"
SOURCE="xf86driproto"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WGET_URL="$XORG_MIRROR/proto/$TARBALL"

DEPENDS="xorg-util-macros pkg-config"
BUILD_DEPENDS="xorg-util-macros"

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 \
        --localstatedir=/var \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/licenses
    cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt

    cp -a $install/* $fs

        # Ensure remove .la files
        find $fs -name "*.la" -delete
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)