wok-current view libdrm-mach64/receipt @ rev 9608
busybox: fix french translation for top and pcan desktop files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 14 23:00:12 2011 +0200 (2011-04-14) |
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 }