wok-next diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorg-xf86-video-fbdev/receipt	Fri Jun 15 12:26:21 2012 +0200
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xorg-xf86-video-fbdev"
     1.7 +VERSION="0.4.2"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Xorg video driver for framebuffer device."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +SOURCE="xf86-video-fbdev"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://www.x.org/"
    1.14 +WGET_URL="$XORG_MIRROR/driver/$TARBALL"
    1.15 +
    1.16 +# We can use xorg-server-light with evdev and vesa driver.
    1.17 +#DEPENDS="xorg-server"
    1.18 +BUILD_DEPENDS="xorg-server-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src
    1.24 +	./configure \
    1.25 +		--prefix=/usr \
    1.26 +		--sysconfdir=/etc \
    1.27 +		--localstatedir=/var \
    1.28 +		--with-xorg-module-dir=/usr/lib/X11/modules \
    1.29 +		$CONFIGURE_ARGS &&
    1.30 +	make && make install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	mkdir -p $fs/usr/lib/X11/modules/drivers/
    1.37 +    cp -a $install/usr/lib/X11/modules/drivers/*.so \
    1.38 +    	$fs/usr/lib/X11/modules/drivers/
    1.39 +}
    1.40 +