wok-next diff xorg-xf86-video-sunffb/receipt @ rev 20342

gkII: tiny png patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 17 15:57:17 2017 +0100 (2017-11-17)
parents
children 757d032c55c7
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorg-xf86-video-sunffb/receipt	Fri Nov 17 15:57:17 2017 +0100
     1.3 @@ -0,0 +1,43 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="xorg-xf86-video-sunffb"
     1.7 +VERSION="1.2.2"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Xorg driver for Sun Creator, Creator 3D and Elite 3D video cards"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="MIT"
    1.12 +WEB_SITE="https://www.x.org/wiki/"
    1.13 +
    1.14 +TARBALL="xf86-video-sunffb-$VERSION.tar.bz2"
    1.15 +WGET_URL="$XORG_MIRROR/driver/$TARBALL"
    1.16 +
    1.17 +BUILD_DEPENDS="xorg-server-dev"
    1.18 +SPLIT="xorg-xf86-video-sunffb-dev"
    1.19 +PKG_RULE="std-dev"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	./configure \
    1.25 +		--sysconfdir=/etc \
    1.26 +		--localstatedir=/var \
    1.27 +		$CONFIGURE_ARGS &&
    1.28 +	make &&
    1.29 +	make install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	case $PACKAGE in
    1.36 +		*-sunffb)
    1.37 +			copy @std
    1.38 +			DEPENDS="xorg-server"
    1.39 +			TAGS="xorg display"
    1.40 +			;;
    1.41 +		*-dev)
    1.42 +			copy @dev
    1.43 +			DEPENDS="xorg-xf86-video-sunffb xorg-server-dev"
    1.44 +			;;
    1.45 +	esac
    1.46 +}