wok rev 19564

Add xorg-xf86-video-ast
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 19 11:40:14 2016 +0100 (2016-12-19)
parents d934532a1be1
children 13ce2c17683e
files xorg-xf86-video-ast/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorg-xf86-video-ast/receipt	Mon Dec 19 11:40:14 2016 +0100
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xorg-xf86-video-ast"
     1.7 +VERSION="1.1.5"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Xorg server ASpeed Technologies graphics driver."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="MIT"
    1.12 +SOURCE="xf86-video-ast"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://www.x.org/"
    1.15 +WGET_URL="$XORG_MIRROR/driver/$TARBALL"
    1.16 +TAGS="xorg display"
    1.17 +
    1.18 +DEPENDS="xorg-server"
    1.19 +BUILD_DEPENDS="xorg-server-dev libpthread-stubs-dev"
    1.20 +
    1.21 +MODS='/usr/lib/X11/modules'
    1.22 +
    1.23 +# Rules to configure and make the package.
    1.24 +compile_rules()
    1.25 +{
    1.26 +	./configure \
    1.27 +		--sysconfdir=/etc \
    1.28 +		--mandir=/usr/share/man \
    1.29 +		--localstatedir=/var \
    1.30 +		--with-xorg-module-dir=$MODS \
    1.31 +		$CONFIGURE_ARGS &&
    1.32 +	make && make install
    1.33 +}
    1.34 +
    1.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 +genpkg_rules()
    1.37 +{
    1.38 +	mkdir -p ${fs}${MODS}/drivers
    1.39 +	cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers/
    1.40 +}