wok-6.x diff xorg-xf86-video-mach64/receipt @ rev 15028

sylpheed: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 12 09:41:52 2013 +0000 (2013-08-12)
parents
children eb8067417980
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorg-xf86-video-mach64/receipt	Mon Aug 12 09:41:52 2013 +0000
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xorg-xf86-video-mach64"
     1.7 +VERSION="6.9.4"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Xorg driver for ATI MACH 64 cards."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +SOURCE="xf86-video-mach64"
    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 +TAGS="xorg display"
    1.16 +
    1.17 +DEPENDS="xorg-server"
    1.18 +BUILD_DEPENDS="xorg-server-dev"
    1.19 +
    1.20 +MODS='/usr/lib/X11/modules'
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	cd $src
    1.26 +	./configure \
    1.27 +		--prefix=/usr \
    1.28 +		--sysconfdir=/etc \
    1.29 +		--mandir=/usr/share/man \
    1.30 +		--localstatedir=/var \
    1.31 +		--with-xorg-module-dir=$MODS \
    1.32 +		$CONFIGURE_ARGS &&
    1.33 +	make &&
    1.34 +	make DESTDIR=$DESTDIR install
    1.35 +}
    1.36 +
    1.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 +genpkg_rules()
    1.39 +{
    1.40 +	mkdir -p $fs/usr/lib/X11/modules/drivers/
    1.41 +	cp -a $install/usr/lib/X11/modules/drivers/*.so \
    1.42 +		$fs/usr/lib/X11/modules/drivers/
    1.43 +}
    1.44 +