wok-next view libdrm-mach64/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | d5aab818505e |
children |
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"
26 # make .ko.xz
27 xz -z "$install/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/gpu/drm/mach64/mach64.ko"
28 }
30 genpkg_rules() {
31 copy @std
32 DEPENDS="linux"
33 }