wok-stable view libdrm-mach64/receipt @ rev 8955

Fixed xterm to not depend on xorg and xorg-dev. Added xorg-libXt and xorg-libXaw to xterm depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Mar 01 18:34:58 2011 +0000 (2011-03-01)
parents 6a1621403ece
children fbac7633537e
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 find -name Makefile | xargs sed -i \
19 "s|/lib/modules/\`uname -r\`/build|/usr/src/linux|"
20 KERN_DIR=/usr/src/linux make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
27 install -D -m644 $src/mach64.ko \
28 "$fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/gpu/drm/mach64/mach64.ko"
29 }