# HG changeset patch # User Antoine Bodin # Date 1298420187 -3600 # Node ID 6a1621403eceaef47d1b8cd9d29fa12530c55a02 # Parent ce496ecccf24abddd884c5e4dc1a573c87c0a675 Add: libdrm-mach64 20110109 diff -r ce496ecccf24 -r 6a1621403ece libdrm-mach64/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libdrm-mach64/receipt Wed Feb 23 01:16:27 2011 +0100 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="libdrm-mach64" +VERSION="20110109" +CATEGORY="x-window" +SHORT_DESC="DRM Library for mach64 (deprecated but no alternative)." +MAINTAINER="gokhlayeh@slitaz.org" +DEPENDS="linux-module-headers" +WEB_SITE="http://dri.freedesktop.org/wiki/DRM" +TARBALL="mach64-$VERSION.tar.gz" +WGET_URL="http://trya.alwaysdata.net/linux/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + #DESTDIR="$DESTDIR/lib/modules/`uname -r`/kernel/" + KERN_DIR=/usr/src/linux make +} + +# 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 \ + "$fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/gpu/drm/mach64/mach64.ko" +} diff -r ce496ecccf24 -r 6a1621403ece mesa-dri-mach64/receipt --- a/mesa-dri-mach64/receipt Wed Feb 23 00:28:43 2011 +0100 +++ b/mesa-dri-mach64/receipt Wed Feb 23 01:16:27 2011 +0100 @@ -6,7 +6,7 @@ SHORT_DESC="Mesa DRI drivers for ATI Mach64." MAINTAINER="pascal.bellard@slitaz.org" WEB_SITE="http://www.mesa3d.org/" -DEPENDS="mesa mesa-dri" +DEPENDS="mesa mesa-dri libdrm-mach64" WANTED="mesa" # Rules to gen a SliTaz package suitable for Tazpkg.