wok annotate libdrm-mach64/receipt @ rev 8808

Add: libdrm-mach64 20110109
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Feb 23 01:16:27 2011 +0100 (2011-02-23)
parents
children 51f4e679d147
rev   line source
gokhlayeh@8808 1 # SliTaz package receipt.
gokhlayeh@8808 2
gokhlayeh@8808 3 PACKAGE="libdrm-mach64"
gokhlayeh@8808 4 VERSION="20110109"
gokhlayeh@8808 5 CATEGORY="x-window"
gokhlayeh@8808 6 SHORT_DESC="DRM Library for mach64 (deprecated but no alternative)."
gokhlayeh@8808 7 MAINTAINER="gokhlayeh@slitaz.org"
gokhlayeh@8808 8 DEPENDS="linux-module-headers"
gokhlayeh@8808 9 WEB_SITE="http://dri.freedesktop.org/wiki/DRM"
gokhlayeh@8808 10 TARBALL="mach64-$VERSION.tar.gz"
gokhlayeh@8808 11 WGET_URL="http://trya.alwaysdata.net/linux/$TARBALL"
gokhlayeh@8808 12
gokhlayeh@8808 13 # Rules to configure and make the package.
gokhlayeh@8808 14 compile_rules()
gokhlayeh@8808 15 {
gokhlayeh@8808 16 cd $src
gokhlayeh@8808 17 #DESTDIR="$DESTDIR/lib/modules/`uname -r`/kernel/"
gokhlayeh@8808 18 KERN_DIR=/usr/src/linux make
gokhlayeh@8808 19 }
gokhlayeh@8808 20
gokhlayeh@8808 21 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@8808 22 genpkg_rules()
gokhlayeh@8808 23 {
gokhlayeh@8808 24 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
gokhlayeh@8808 25 install -D -m644 $src/mach64.ko \
gokhlayeh@8808 26 "$fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/gpu/drm/mach64/mach64.ko"
gokhlayeh@8808 27 }