wok-6.x diff xorg-xf86-video-openchrome/receipt @ rev 12531
kmod: install in /sbin /bin /lib, do symlinks and use xz/lzma compression
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 25 11:15:08 2012 +0200 (2012-04-25) |
parents | c514cc4854d8 |
children | ad2b1674f4f5 |
line diff
1.1 --- a/xorg-xf86-video-openchrome/receipt Wed Jan 19 19:41:12 2011 +0000 1.2 +++ b/xorg-xf86-video-openchrome/receipt Wed Apr 25 11:15:08 2012 +0200 1.3 @@ -1,39 +1,39 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="xorg-xf86-video-openchrome" 1.7 -VERSION="0.2.904" 1.8 +VERSION="0.2.905" 1.9 CATEGORY="x-window" 1.10 SHORT_DESC="Xorg server openchrome driver." 1.11 MAINTAINER="claudinei@slitaz.org" 1.12 -DEPENDS="xorg-server xorg-libXvMC mesa-dri-unichrome" 1.13 -BUILD_DEPENDS="xorg-server-dev xorg-libXvMC-dev" 1.14 SOURCE="xf86-video-openchrome" 1.15 TARBALL="$SOURCE-$VERSION.tar.bz2" 1.16 WEB_SITE="http://www.x.org/" 1.17 WGET_URL="$XORG_MIRROR/driver/$TARBALL" 1.18 TAGS="xorg display" 1.19 1.20 +DEPENDS="xorg-server xorg-libXvMC mesa-dri-unichrome" 1.21 +BUILD_DEPENDS="xorg-server-dev xorg-libXvMC-dev" 1.22 + 1.23 +MODS='/usr/lib/X11/modules' 1.24 + 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 - cd $src 1.29 - ./configure \ 1.30 - --prefix=/usr \ 1.31 - --sysconfdir=/etc \ 1.32 - --mandir=/usr/share/man \ 1.33 - --localstatedir=/var \ 1.34 - --with-xorg-module-dir=/usr/lib/X11/modules \ 1.35 - $CONFIGURE_ARGS && 1.36 - make && 1.37 - make DESTDIR=$PWD/_pkg install 1.38 + cd $src 1.39 + ./configure \ 1.40 + --sysconfdir=/etc \ 1.41 + --mandir=/usr/share/man \ 1.42 + --localstatedir=/var \ 1.43 + --with-xorg-module-dir=$MODS \ 1.44 + $CONFIGURE_ARGS && 1.45 + make && make install 1.46 } 1.47 1.48 # Rules to gen a SliTaz package suitable for Tazpkg. 1.49 genpkg_rules() 1.50 { 1.51 - mkdir -p $fs/usr/lib/X11/modules/drivers/ 1.52 - cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \ 1.53 - $fs/usr/lib/X11/modules/drivers/ 1.54 - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.55 + mkdir -p ${fs}${MODS}/drivers 1.56 + cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers 1.57 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.58 } 1.59