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

Up: libdrm (2.4.33) + clean receipt
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 25 10:04:32 2012 +0200 (2012-04-25)
parents d005d51309af
children b7d35eb26646
rev   line source
pankso@3006 1 # SliTaz package receipt.
pankso@3006 2
pankso@3006 3 PACKAGE="libdrm"
pankso@12528 4 VERSION="2.4.33"
pankso@3006 5 CATEGORY="x-window"
pankso@3006 6 SHORT_DESC="Freedesktop DRM Library."
pankso@3006 7 MAINTAINER="pankso@slitaz.org"
pankso@3006 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@3006 9 WEB_SITE="http://dri.freedesktop.org/"
pankso@3006 10 WGET_URL="http://dri.freedesktop.org/libdrm/$TARBALL"
pankso@3006 11
pankso@12528 12 DEPENDS="glibc-base udev linux-drm xorg-libpciaccess"
pankso@12528 13 BUILD_DEPENDS="xorg-dev xorg-dev-proto libpthread-stubs gc-dev pkg-config \
pankso@12528 14 udev-dev xorg-libpciaccess-dev"
pankso@12528 15
pankso@3006 16 # Rules to configure and make the package.
pankso@3006 17 compile_rules()
pankso@12528 18 {
pankso@3006 19 cd $src
pankso@3006 20 ./configure \
pankso@12528 21 --enable-intel \
pankso@12528 22 --enable-radeon \
pankso@12528 23 --enable-vmwgfx-experimental-api \
pankso@12528 24 --enable-nouveau-experimental-api \
pankso@12528 25 --enable-udev \
pankso@12528 26 $CONFIGURE_ARGS &&
pankso@12528 27 make && make 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
pankso@12528 34 cp -a $install/usr/lib/libdrm.so* $fs/usr/lib
pankso@12528 35 cp -a $install/usr/lib/libkms*.so* $fs/usr/lib
pankso@3006 36 }