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