wok-stable view libdrm-mach64/receipt @ rev 9742
Fix: claws-mail BUILD_DEPENDS )libassuan, also use xorg-dev for all Xorg dev pkgs) and clean receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 10 02:32:37 2011 +0200 (2011-05-10) |
parents | 51f4e679d147 |
children |
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"
9 BUILD_DEPENDS="linux-module-headers"
10 WEB_SITE="http://dri.freedesktop.org/wiki/DRM"
11 SOURCE="mach64"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="http://trya.alwaysdata.net/linux/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 #DESTDIR="$DESTDIR/lib/modules/`uname -r`/kernel/"
20 find -name Makefile | xargs sed -i \
21 "s|/lib/modules/\`uname -r\`/build|/usr/src/linux|"
22 KERN_DIR=/usr/src/linux make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
29 install -D -m644 $src/mach64.ko \
30 "$fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/gpu/drm/mach64/mach64.ko"
31 }