wok-next diff xorg-xf86-video-neomagic/receipt @ rev 19857

Up paper-gtk-theme, slitaz-next.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Sep 07 23:39:42 2017 +0300 (2017-09-07)
parents eb8067417980
children 757d032c55c7
line diff
     1.1 --- a/xorg-xf86-video-neomagic/receipt	Sat Nov 30 10:06:29 2013 +0000
     1.2 +++ b/xorg-xf86-video-neomagic/receipt	Thu Sep 07 23:39:42 2017 +0300
     1.3 @@ -1,39 +1,44 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xorg-xf86-video-neomagic"
     1.8 -VERSION="1.2.7"
     1.9 +VERSION="1.2.9"
    1.10  CATEGORY="x-window"
    1.11 -SHORT_DESC="Xorg driver for neomagic cards"
    1.12 +SHORT_DESC="Xorg driver for the Neomagic graphics chipsets found in many \
    1.13 +laptop computers"
    1.14  MAINTAINER="domcox@slitaz.org"
    1.15  LICENSE="MIT"
    1.16 -SOURCE="xf86-video-neomagic"
    1.17 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.18 -WEB_SITE="http://www.x.org"
    1.19 +WEB_SITE="https://www.x.org/wiki/neomagic/"
    1.20 +
    1.21 +TARBALL="xf86-video-neomagic-$VERSION.tar.bz2"
    1.22  WGET_URL="$XORG_MIRROR/driver/$TARBALL"
    1.23 -TAGS="xorg display"
    1.24  
    1.25 -DEPENDS="xorg-server"
    1.26  BUILD_DEPENDS="xorg-server-dev xorg-xf86dgaproto"
    1.27 -
    1.28 -MODS='/usr/lib/X11/modules'
    1.29 +SPLIT="xorg-xf86-video-neomagic-dev"
    1.30 +PKG_RULE="std-dev"
    1.31  
    1.32  # Rules to configure and make the package.
    1.33  compile_rules()
    1.34  {
    1.35 -	cd $src
    1.36  	./configure \
    1.37  		--sysconfdir=/etc \
    1.38 -		--mandir=/usr/share/man \
    1.39  		--localstatedir=/var \
    1.40 -		--with-xorg-module-dir=$MODS \
    1.41  		$CONFIGURE_ARGS &&
    1.42 -	make && make install
    1.43 +	make &&
    1.44 +	make install
    1.45  }
    1.46  
    1.47  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.48  genpkg_rules()
    1.49  {
    1.50 -	mkdir -p ${fs}${MODS}/drivers
    1.51 -	cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers
    1.52 +	case $PACKAGE in
    1.53 +		*-neomagic)
    1.54 +			copy @std
    1.55 +			DEPENDS="xorg-server"
    1.56 +			TAGS="xorg display"
    1.57 +			;;
    1.58 +		*-dev)
    1.59 +			copy @dev
    1.60 +			DEPENDS="xorg-xf86-video-neomagic xorg-server-dev"
    1.61 +			;;
    1.62 +	esac
    1.63  }
    1.64 -