wok-next annotate xorg-xf86-video-fbdev/receipt @ rev 16067
ARM: xorg-server-light cross compile and add more needed packages
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 12 20:54:03 2014 +0100 (2014-03-12) |
parents | eb8067417980 |
children | 66dc81a8e443 |
rev | line source |
---|---|
pankso@11888 | 1 # SliTaz package receipt. |
pankso@11888 | 2 |
pankso@11888 | 3 PACKAGE="xorg-xf86-video-fbdev" |
pascal@14730 | 4 VERSION="0.4.3" |
pankso@11888 | 5 CATEGORY="x-window" |
pankso@11888 | 6 SHORT_DESC="Xorg video driver for framebuffer device." |
pankso@11888 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
pankso@11888 | 9 SOURCE="xf86-video-fbdev" |
pankso@11888 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@11888 | 11 WEB_SITE="http://www.x.org/" |
pankso@11888 | 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
pankso@16067 | 13 HOST_ARCH="i486 arm" |
pankso@11888 | 14 |
pankso@16067 | 15 # We can use xorg-server-light with evdev and fbdev driver. |
pankso@11888 | 16 #DEPENDS="xorg-server" |
pankso@11888 | 17 BUILD_DEPENDS="xorg-server-dev" |
pankso@11888 | 18 |
pankso@16067 | 19 # ARM use build system xorg-server-dev or manually install it in sysroot |
pankso@16067 | 20 case "$ARCH" in |
pankso@16067 | 21 arm) BUILD_DEPENDS="" ;; |
pankso@16067 | 22 esac |
pankso@16067 | 23 |
pankso@11888 | 24 # Rules to configure and make the package. |
pankso@11888 | 25 compile_rules() |
pankso@11888 | 26 { |
pankso@11888 | 27 ./configure \ |
pankso@11888 | 28 --prefix=/usr \ |
pankso@11888 | 29 --sysconfdir=/etc \ |
pankso@11888 | 30 --localstatedir=/var \ |
pankso@11888 | 31 --with-xorg-module-dir=/usr/lib/X11/modules \ |
pankso@11888 | 32 $CONFIGURE_ARGS && |
pankso@11888 | 33 make && make install |
pankso@11888 | 34 } |
pankso@11888 | 35 |
pankso@11888 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@11888 | 37 genpkg_rules() |
pankso@11888 | 38 { |
pankso@11888 | 39 mkdir -p $fs/usr/lib/X11/modules/drivers/ |
pankso@11888 | 40 cp -a $install/usr/lib/X11/modules/drivers/*.so \ |
pankso@11888 | 41 $fs/usr/lib/X11/modules/drivers/ |
pankso@11888 | 42 } |
pankso@11888 | 43 |