wok-next annotate libdrm-mach64/receipt @ rev 17764
epdf: hide false positive
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 12 09:36:28 2015 +0100 (2015-03-12) |
parents | 07430e4ff626 |
children | 6c73b944e8dd |
rev | line source |
---|---|
gokhlayeh@8808 | 1 # SliTaz package receipt. |
gokhlayeh@8808 | 2 |
gokhlayeh@8808 | 3 PACKAGE="libdrm-mach64" |
pascal@14200 | 4 VERSION="20130130" |
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" |
gokhlayeh@8808 | 9 WEB_SITE="http://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 { |
gokhlayeh@8808 | 20 cd $src |
gokhlayeh@8808 | 21 #DESTDIR="$DESTDIR/lib/modules/`uname -r`/kernel/" |
pascal@8908 | 22 find -name Makefile | xargs sed -i \ |
pascal@8908 | 23 "s|/lib/modules/\`uname -r\`/build|/usr/src/linux|" |
gokhlayeh@8808 | 24 KERN_DIR=/usr/src/linux make |
gokhlayeh@8808 | 25 } |
gokhlayeh@8808 | 26 |
gokhlayeh@8808 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@8808 | 28 genpkg_rules() |
gokhlayeh@8808 | 29 { |
gokhlayeh@8808 | 30 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` |
gokhlayeh@8808 | 31 install -D -m644 $src/mach64.ko \ |
gokhlayeh@8808 | 32 "$fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/gpu/drm/mach64/mach64.ko" |
gokhlayeh@8808 | 33 } |