wok annotate libdrm/receipt @ rev 12242
syslinux: 4.0 string
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 09 17:56:22 2012 +0200 (2012-04-09) |
parents | 6718cbcf80e1 |
children | 9d6cb53d20cd |
rev | line source |
---|---|
pankso@3006 | 1 # SliTaz package receipt. |
pankso@3006 | 2 |
pankso@3006 | 3 PACKAGE="libdrm" |
slaxemulator@10235 | 4 VERSION="2.4.25" |
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 } |