wok-next annotate libdrm-mach64/receipt @ rev 21527
updated bootchart (0.9 -> 1.20)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 19 15:06:45 2020 +0100 (2020-06-19) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@20444 | 1 # SliTaz package receipt v2. |
gokhlayeh@8808 | 2 |
gokhlayeh@8808 | 3 PACKAGE="libdrm-mach64" |
al@20444 | 4 VERSION="20180107" |
gokhlayeh@8808 | 5 CATEGORY="x-window" |
al@20444 | 6 SHORT_DESC="DRM Library for mach64" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15472 | 8 LICENSE="MIT" |
al@21020 | 9 WEB_SITE="https://dri.freedesktop.org/wiki/DRM/" |
al@20883 | 10 REPOLOGY="mach64drm" |
al@20444 | 11 |
al@20444 | 12 TARBALL="mach64-$VERSION.tar.gz" |
gokhlayeh@8808 | 13 WGET_URL="http://trya.alwaysdata.net/linux/$TARBALL" |
gokhlayeh@8808 | 14 |
pascal@15472 | 15 BUILD_DEPENDS="linux-module-headers" |
pascal@15472 | 16 |
al@20444 | 17 compile_rules() { |
pascal@8908 | 18 find -name Makefile | xargs sed -i \ |
pascal@8908 | 19 "s|/lib/modules/\`uname -r\`/build|/usr/src/linux|" |
al@20444 | 20 KERN_DIR=/usr/src/linux make || return 1 |
al@20444 | 21 |
al@20444 | 22 KERNEL_VERSION=$(. $WOK/linux/receipt; echo $VERSION) |
al@20444 | 23 install -Dm644 $src/mach64.ko \ |
al@20444 | 24 "$install/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/gpu/drm/mach64/mach64.ko" |
al@21094 | 25 |
al@21094 | 26 # make .ko.xz |
al@21094 | 27 xz -z "$install/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/gpu/drm/mach64/mach64.ko" |
gokhlayeh@8808 | 28 } |
gokhlayeh@8808 | 29 |
al@20444 | 30 genpkg_rules() { |
al@20444 | 31 copy @std |
al@20444 | 32 DEPENDS="linux" |
gokhlayeh@8808 | 33 } |