Receipt for package "libdrm-mach64"
# SliTaz package receipt. PACKAGE="libdrm-mach64" VERSION="20180107" CATEGORY="x-window" SHORT_DESC="DRM Library for mach64 (deprecated but no alternative)." MAINTAINER="gokhlayeh@slitaz.org" LICENSE="MIT" WEB_SITE="https://dri.freedesktop.org/wiki/DRM" SOURCE="mach64" TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="http://trya.alwaysdata.net/linux/$TARBALL" BUILD_DEPENDS="xz" case $ARCH in i?86) DEPENDS="linux" BUILD_DEPENDS="$BUILD_DEPENDS linux-module-headers" ;; x86_64) DEPENDS="linux64" BUILD_DEPENDS="$BUILD_DEPENDS linux64-module-headers" ;; esac HOST_ARCH="i486 x86_64" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { find -name Makefile | xargs sed -i \ "s|/lib/modules/\`uname -r\`/build|/usr/src/linux|" KERN_DIR=/usr/src/linux make # make .ko.xz xz -z $src/mach64.ko } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` install -D -m644 $src/mach64.ko.xz \ "$fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/gpu/drm/mach64/mach64.ko.xz" }
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)