wok diff xorg-xf86-video-mach64/receipt @ rev 10024

glibc: dont build with -Os and better use default CFLAGS also need --build and --host
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 19 18:19:46 2011 +0200 (2011-05-19)
parents
children 6971e86f8875
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorg-xf86-video-mach64/receipt	Thu May 19 18:19:46 2011 +0200
     1.3 @@ -0,0 +1,39 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xorg-xf86-video-mach64"
     1.7 +VERSION="6.8.2"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Xorg server Mach64 driver."
    1.10 +MAINTAINER="gokhlayeh@slitaz.org"
    1.11 +DEPENDS="xorg-server mesa-dri-mach64"
    1.12 +BUILD_DEPENDS="xorg-server-dev"
    1.13 +SOURCE="xf86-video-mach64"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.15 +WEB_SITE="http://www.x.org/"
    1.16 +WGET_URL="$XORG_MIRROR/driver/$TARBALL"
    1.17 +TAGS="xorg display"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +    cd $src
    1.23 +    ./configure \
    1.24 +    	--prefix=/usr \
    1.25 +    	--sysconfdir=/etc \
    1.26 +    	--mandir=/usr/share/man \
    1.27 +    	--localstatedir=/var \
    1.28 +    	--with-xorg-module-dir=/usr/lib/X11/modules \
    1.29 +    	--enable-dri \
    1.30 +    	$CONFIGURE_ARGS &&
    1.31 +    make &&
    1.32 +    make DESTDIR=$PWD/_pkg 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/usr/lib/X11/modules/drivers
    1.39 +	cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \
    1.40 +		$fs/usr/lib/X11/modules/drivers/
    1.41 +}
    1.42 +