wok-6.x annotate libdrm/receipt @ rev 16423
Fix slitaz-arm-configs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 18 04:35:22 2014 +0200 (2014-04-18) |
parents | e585bcc8453e |
children | 03b2309fd335 |
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" |
pascal@15472 | 8 LICENSE="MIT" |
pankso@3006 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@3006 | 10 WEB_SITE="http://dri.freedesktop.org/" |
pankso@3006 | 11 WGET_URL="http://dri.freedesktop.org/libdrm/$TARBALL" |
pankso@16342 | 12 HOST_ARCH="i486 arm" |
pankso@3006 | 13 |
pankso@12528 | 14 DEPENDS="glibc-base udev linux-drm xorg-libpciaccess" |
pankso@16342 | 15 BUILD_DEPENDS="libpthread-stubs-dev gc-dev pkg-config udev-dev \ |
pankso@16342 | 16 xorg-libpciaccess-dev" |
pankso@16342 | 17 #xorg-dev xorg-dev-proto |
pankso@12528 | 18 |
pankso@3006 | 19 # Rules to configure and make the package. |
pankso@3006 | 20 compile_rules() |
pankso@12528 | 21 { |
pankso@3006 | 22 ./configure \ |
pankso@12528 | 23 --enable-intel \ |
pankso@12528 | 24 --enable-radeon \ |
pankso@12528 | 25 --enable-vmwgfx-experimental-api \ |
pankso@12528 | 26 --enable-nouveau-experimental-api \ |
pankso@12528 | 27 --enable-udev \ |
pankso@12528 | 28 $CONFIGURE_ARGS && |
pankso@12528 | 29 make && make install |
pankso@3006 | 30 } |
pankso@3006 | 31 |
pankso@3006 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3006 | 33 genpkg_rules() |
pankso@3006 | 34 { |
pankso@3006 | 35 mkdir -p $fs/usr/lib |
pascal@12800 | 36 cp -a $install/usr/lib/libdrm.so* $fs/usr/lib |
pankso@12528 | 37 cp -a $install/usr/lib/libkms*.so* $fs/usr/lib |
pankso@3006 | 38 } |