wok annotate libdrm-mach64/receipt @ rev 9363

Up: aria2 to 1.11.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Mar 20 15:47:16 2011 +0000 (2011-03-20)
parents 6a1621403ece
children fbac7633537e
rev   line source
gokhlayeh@8808 1 # SliTaz package receipt.
gokhlayeh@8808 2
gokhlayeh@8808 3 PACKAGE="libdrm-mach64"
gokhlayeh@8808 4 VERSION="20110109"
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"
gokhlayeh@8808 8 DEPENDS="linux-module-headers"
gokhlayeh@8808 9 WEB_SITE="http://dri.freedesktop.org/wiki/DRM"
gokhlayeh@8808 10 TARBALL="mach64-$VERSION.tar.gz"
gokhlayeh@8808 11 WGET_URL="http://trya.alwaysdata.net/linux/$TARBALL"
gokhlayeh@8808 12
gokhlayeh@8808 13 # Rules to configure and make the package.
gokhlayeh@8808 14 compile_rules()
gokhlayeh@8808 15 {
gokhlayeh@8808 16 cd $src
gokhlayeh@8808 17 #DESTDIR="$DESTDIR/lib/modules/`uname -r`/kernel/"
pascal@8908 18 find -name Makefile | xargs sed -i \
pascal@8908 19 "s|/lib/modules/\`uname -r\`/build|/usr/src/linux|"
gokhlayeh@8808 20 KERN_DIR=/usr/src/linux make
gokhlayeh@8808 21 }
gokhlayeh@8808 22
gokhlayeh@8808 23 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@8808 24 genpkg_rules()
gokhlayeh@8808 25 {
gokhlayeh@8808 26 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
gokhlayeh@8808 27 install -D -m644 $src/mach64.ko \
gokhlayeh@8808 28 "$fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/gpu/drm/mach64/mach64.ko"
gokhlayeh@8808 29 }