wok-next annotate xorg-xf86-video-fbdev/receipt @ rev 13040

Add libconfig
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 15 12:26:21 2012 +0200 (2012-06-15)
parents
children 5f4f33f36a0f
rev   line source
pankso@11888 1 # SliTaz package receipt.
pankso@11888 2
pankso@11888 3 PACKAGE="xorg-xf86-video-fbdev"
pankso@11888 4 VERSION="0.4.2"
pankso@11888 5 CATEGORY="x-window"
pankso@11888 6 SHORT_DESC="Xorg video driver for framebuffer device."
pankso@11888 7 MAINTAINER="pankso@slitaz.org"
pankso@11888 8 SOURCE="xf86-video-fbdev"
pankso@11888 9 TARBALL="$SOURCE-$VERSION.tar.bz2"
pankso@11888 10 WEB_SITE="http://www.x.org/"
pankso@11888 11 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
pankso@11888 12
pankso@11888 13 # We can use xorg-server-light with evdev and vesa driver.
pankso@11888 14 #DEPENDS="xorg-server"
pankso@11888 15 BUILD_DEPENDS="xorg-server-dev"
pankso@11888 16
pankso@11888 17 # Rules to configure and make the package.
pankso@11888 18 compile_rules()
pankso@11888 19 {
pankso@11888 20 cd $src
pankso@11888 21 ./configure \
pankso@11888 22 --prefix=/usr \
pankso@11888 23 --sysconfdir=/etc \
pankso@11888 24 --localstatedir=/var \
pankso@11888 25 --with-xorg-module-dir=/usr/lib/X11/modules \
pankso@11888 26 $CONFIGURE_ARGS &&
pankso@11888 27 make && make install
pankso@11888 28 }
pankso@11888 29
pankso@11888 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@11888 31 genpkg_rules()
pankso@11888 32 {
pankso@11888 33 mkdir -p $fs/usr/lib/X11/modules/drivers/
pankso@11888 34 cp -a $install/usr/lib/X11/modules/drivers/*.so \
pankso@11888 35 $fs/usr/lib/X11/modules/drivers/
pankso@11888 36 }
pankso@11888 37