wok-current annotate libdrm-mach64/receipt @ rev 20669
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 21 12:26:11 2019 +0100 (2019-01-21) |
parents | 608d4b90020d |
children | ede1d184d5c5 |
rev | line source |
---|---|
gokhlayeh@8808 | 1 # SliTaz package receipt. |
gokhlayeh@8808 | 2 |
gokhlayeh@8808 | 3 PACKAGE="libdrm-mach64" |
pascal@20285 | 4 VERSION="20140830" |
gokhlayeh@8808 | 5 CATEGORY="x-window" |
gokhlayeh@8808 | 6 SHORT_DESC="DRM Library for mach64 (deprecated but no alternative)." |
gokhlayeh@8808 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
pascal@15472 | 8 LICENSE="MIT" |
pascal@20669 | 9 WEB_SITE="https://dri.freedesktop.org/wiki/DRM" |
slaxemulator@9623 | 10 SOURCE="mach64" |
slaxemulator@9623 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
gokhlayeh@8808 | 12 WGET_URL="http://trya.alwaysdata.net/linux/$TARBALL" |
gokhlayeh@8808 | 13 |
pascal@15472 | 14 DEPENDS="linux" |
pascal@15472 | 15 BUILD_DEPENDS="linux-module-headers" |
pascal@15472 | 16 |
gokhlayeh@8808 | 17 # Rules to configure and make the package. |
gokhlayeh@8808 | 18 compile_rules() |
gokhlayeh@8808 | 19 { |
pascal@8908 | 20 find -name Makefile | xargs sed -i \ |
pascal@8908 | 21 "s|/lib/modules/\`uname -r\`/build|/usr/src/linux|" |
gokhlayeh@8808 | 22 KERN_DIR=/usr/src/linux make |
gokhlayeh@8808 | 23 } |
gokhlayeh@8808 | 24 |
gokhlayeh@8808 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@8808 | 26 genpkg_rules() |
gokhlayeh@8808 | 27 { |
gokhlayeh@8808 | 28 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` |
gokhlayeh@8808 | 29 install -D -m644 $src/mach64.ko \ |
gokhlayeh@8808 | 30 "$fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/gpu/drm/mach64/mach64.ko" |
gokhlayeh@8808 | 31 } |