wok-next annotate libdrm/receipt @ rev 5293

Up: libdrm (2.4.20)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 18 22:47:15 2010 +0200 (2010-04-18)
parents 53d61e9e834b
children 8919d637a453
rev   line source
pankso@3006 1 # SliTaz package receipt.
pankso@3006 2
pankso@3006 3 PACKAGE="libdrm"
pankso@5293 4 VERSION="2.4.20"
pankso@3006 5 CATEGORY="x-window"
pankso@3006 6 SHORT_DESC="Freedesktop DRM Library."
pankso@3006 7 MAINTAINER="pankso@slitaz.org"
rcx@3691 8 DEPENDS="glibc-base"
pankso@5293 9 BUILD_DEPENDS="xorg-dev xorg-dev-proto libpthread-stubs gc gc-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 \
pankso@3006 21 $CONFIGURE_ARGS &&
pankso@5293 22 make &&
pankso@3006 23 make DESTDIR=$PWD/_pkg install
pankso@3006 24 }
pankso@3006 25
pankso@3006 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3006 27 genpkg_rules()
pankso@3006 28 {
pankso@3006 29 mkdir -p $fs/usr/lib
pankso@3006 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@3006 31 }