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