wok-next view libdrm-mach64/receipt @ rev 20859
Update ALSA stack (1.1.6)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 27 13:35:43 2018 +0300 (2018-06-27) |
parents | 6c3718ca17b6 |
children | df20b2110f7e |
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="gokhlayeh@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://dri.freedesktop.org/wiki/DRM"
11 TARBALL="mach64-$VERSION.tar.gz"
12 WGET_URL="http://trya.alwaysdata.net/linux/$TARBALL"
14 BUILD_DEPENDS="linux-module-headers"
16 compile_rules() {
17 find -name Makefile | xargs sed -i \
18 "s|/lib/modules/\`uname -r\`/build|/usr/src/linux|"
19 KERN_DIR=/usr/src/linux make || return 1
21 KERNEL_VERSION=$(. $WOK/linux/receipt; echo $VERSION)
22 install -Dm644 $src/mach64.ko \
23 "$install/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/gpu/drm/mach64/mach64.ko"
24 }
26 genpkg_rules() {
27 copy @std
28 DEPENDS="linux"
29 }