wok-current view libdrm-mach64/receipt @ rev 22383
updated blender (2.75a -> 2.81)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Nov 28 09:46:11 2019 +0100 (2019-11-28) |
parents | 608d4b90020d |
children | ede1d184d5c5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libdrm-mach64"
4 VERSION="20140830"
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="https://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 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 }