wok-next annotate libdrm/receipt @ rev 13597
Up get-flash-plugin (1.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 09 13:13:08 2012 +0100 (2012-11-09) |
parents | 85016499ad8c |
children | 2aea23badb24 |
rev | line source |
---|---|
pankso@3006 | 1 # SliTaz package receipt. |
pankso@3006 | 2 |
pankso@3006 | 3 PACKAGE="libdrm" |
pascal@12801 | 4 VERSION="2.4.34" |
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 } |