wok-6.x annotate libdrm/receipt @ rev 15164
Up xorg-xf86-input-void (1.4.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 18:48:58 2013 +0000 (2013-08-15) |
parents | 2aea23badb24 |
children | 6c3718ca17b6 |
rev | line source |
---|---|
pankso@3006 | 1 # SliTaz package receipt. |
pankso@3006 | 2 |
pankso@3006 | 3 PACKAGE="libdrm" |
pascal@14727 | 4 VERSION="2.4.45" |
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 |
pascal@12800 | 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 } |