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

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents df20b2110f7e
children e19ff076dc63
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libdrm-mach64"
4 VERSION="20180107"
5 CATEGORY="x-window"
6 SHORT_DESC="DRM Library for mach64"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://dri.freedesktop.org/wiki/DRM/"
10 REPOLOGY="mach64drm"
12 TARBALL="mach64-$VERSION.tar.gz"
13 WGET_URL="http://trya.alwaysdata.net/linux/$TARBALL"
15 BUILD_DEPENDS="linux-module-headers"
17 compile_rules() {
18 find -name Makefile | xargs sed -i \
19 "s|/lib/modules/\`uname -r\`/build|/usr/src/linux|"
20 KERN_DIR=/usr/src/linux make || return 1
22 KERNEL_VERSION=$(. $WOK/linux/receipt; echo $VERSION)
23 install -Dm644 $src/mach64.ko \
24 "$install/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/gpu/drm/mach64/mach64.ko"
25 }
27 genpkg_rules() {
28 copy @std
29 DEPENDS="linux"
30 }