wok-6.x annotate libdrm/receipt @ rev 3006

Add libdrm (Direct rendering)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 11 22:18:57 2009 +0200 (2009-05-11)
parents
children 53d61e9e834b
rev   line source
pankso@3006 1 # SliTaz package receipt.
pankso@3006 2
pankso@3006 3 PACKAGE="libdrm"
pankso@3006 4 VERSION="2.4.9"
pankso@3006 5 CATEGORY="x-window"
pankso@3006 6 SHORT_DESC="Freedesktop DRM Library."
pankso@3006 7 MAINTAINER="pankso@slitaz.org"
pankso@3006 8 DEPENDS="xorg"
pankso@3006 9 BUILD_DEPENDS="xorg-dev xorg-dev-proto libpthread-stubs"
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@3006 20 $CONFIGURE_ARGS &&
pankso@3006 21 make &&
pankso@3006 22 make DESTDIR=$PWD/_pkg install
pankso@3006 23 }
pankso@3006 24
pankso@3006 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3006 26 genpkg_rules()
pankso@3006 27 {
pankso@3006 28 mkdir -p $fs/usr/lib
pankso@3006 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@3006 30 }