wok-next annotate 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 |
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" |
gokhlayeh@8808 | 25 } |
gokhlayeh@8808 | 26 |
al@20444 | 27 genpkg_rules() { |
al@20444 | 28 copy @std |
al@20444 | 29 DEPENDS="linux" |
gokhlayeh@8808 | 30 } |