wok-next view libdrm-mach64/receipt @ rev 16853

libwebkit-video: don't use stuff in up to 1.11.92
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Jul 13 04:20:26 2014 +0300 (2014-07-13)
parents 07430e4ff626
children 6c73b944e8dd
line source
1 # SliTaz package receipt.
3 PACKAGE="libdrm-mach64"
4 VERSION="20130130"
5 CATEGORY="x-window"
6 SHORT_DESC="DRM Library for mach64 (deprecated but no alternative)."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://dri.freedesktop.org/wiki/DRM"
10 SOURCE="mach64"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="http://trya.alwaysdata.net/linux/$TARBALL"
14 DEPENDS="linux"
15 BUILD_DEPENDS="linux-module-headers"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 #DESTDIR="$DESTDIR/lib/modules/`uname -r`/kernel/"
22 find -name Makefile | xargs sed -i \
23 "s|/lib/modules/\`uname -r\`/build|/usr/src/linux|"
24 KERN_DIR=/usr/src/linux make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
31 install -D -m644 $src/mach64.ko \
32 "$fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/gpu/drm/mach64/mach64.ko"
33 }