wok-next annotate libdrm/receipt @ rev 10225

Renamed opengfx to openttd-opengfx. Up: openttd-opengfx to 0.3.3.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 21 00:09:25 2011 +0000 (2011-05-21)
parents 97821927bc3c
children d005d51309af
rev   line source
pankso@3006 1 # SliTaz package receipt.
pankso@3006 2
pankso@3006 3 PACKAGE="libdrm"
gokhlayeh@8076 4 VERSION="2.4.23"
pankso@3006 5 CATEGORY="x-window"
pankso@3006 6 SHORT_DESC="Freedesktop DRM Library."
pankso@3006 7 MAINTAINER="pankso@slitaz.org"
gokhlayeh@6993 8 DEPENDS="glibc-base udev linux-drm"
gokhlayeh@6993 9 BUILD_DEPENDS="xorg-dev xorg-dev-proto libpthread-stubs gc gc-dev pkg-config udev-dev"
pankso@3006 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@3006 11 WEB_SITE="http://dri.freedesktop.org/"
pankso@3006 12 WGET_URL="http://dri.freedesktop.org/libdrm/$TARBALL"
pankso@3006 13
pankso@3006 14 # Rules to configure and make the package.
pankso@3006 15 compile_rules()
pankso@3006 16 {
pankso@3006 17 cd $src
pankso@3006 18 ./configure \
pankso@3006 19 --prefix=/usr \
pankso@5293 20 --enable-intel \
slaxemulator@6268 21 --enable-radeon \
slaxemulator@7550 22 --enable-vmwgfx-experimental-api \
gokhlayeh@6993 23 --enable-nouveau-experimental-api \
gokhlayeh@6993 24 --enable-udev \
pankso@3006 25 $CONFIGURE_ARGS &&
pankso@5293 26 make &&
pankso@3006 27 make DESTDIR=$PWD/_pkg install
pankso@3006 28 }
pankso@3006 29
pankso@3006 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3006 31 genpkg_rules()
pankso@3006 32 {
pankso@3006 33 mkdir -p $fs/usr/lib
gokhlayeh@6993 34 cp -a $_pkg/usr/lib/libdrm.so* $fs/usr/lib
gokhlayeh@6993 35 cp -a $_pkg/usr/lib/libkms*.so* $fs/usr/lib
pankso@3006 36 }