wok-4.x rev 3849
Remove nvidia* non-free packages (we must find an other solution)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Aug 07 15:16:45 2009 +0200 (2009-08-07) |
parents | 247548dd9c34 |
children | f9ba84f65118 |
files | nvidia-glx/receipt nvidia-settings/receipt nvidia/receipt |
line diff
1.1 --- a/nvidia-glx/receipt Fri Aug 07 15:12:16 2009 +0200 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,38 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="nvidia-glx" 1.7 -VERSION="177.82" 1.8 -CATEGORY="non-free" 1.9 -SHORT_DESC="NVIDIA X.org libraries and utilities" 1.10 -MAINTAINER="b1+slitaz@nagel.org" 1.11 -DEPENDS="nvidia xorg xorg-server" 1.12 -WANTED="nvidia" 1.13 -WEB_SITE="http://www.nvidia.com" 1.14 -PROVIDE="libgl:nvidia" 1.15 - 1.16 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 -genpkg_rules() 1.18 -{ 1.19 - mkdir -p $fs/usr/bin $fs/usr/lib/tls 1.20 - mkdir -p $fs/usr/lib/X11/modules/extensions $fs/usr/lib/X11/modules/drivers 1.21 - 1.22 - install -m755 $src/usr/lib/libGL.so.$VERSION \ 1.23 - $src/usr/lib/libGLcore.so.$VERSION \ 1.24 - $src/usr/lib/libnvidia-cfg.so.$VERSION \ 1.25 - $src/usr/lib/libnvidia-tls.so.$VERSION $fs/usr/lib 1.26 - install -m755 $src/usr/lib/tls/lib*.so.$VERSION \ 1.27 - $src/usr/X11R6/lib/lib*.so.$VERSION $fs/usr/lib/tls 1.28 - install -m755 $src/usr/X11R6/lib/modules/drivers/nvidia_drv.so \ 1.29 - $fs/usr/lib/X11/modules/drivers 1.30 - install -m755 $src/usr/X11R6/lib/modules/extensions/libglx.so.$VERSION \ 1.31 - $fs/usr/lib/X11/modules/extensions 1.32 - 1.33 - install -m755 $src/usr/bin/nvidia-xconfig $fs/usr/bin/ 1.34 - 1.35 - find $fs/ -name \*.so.$VERSION | while read lib; do 1.36 - libname=$(basename "$lib") 1.37 - (cd $(dirname "$lib") && 1.38 - ln -s $libname ${libname%.$VERSION} && 1.39 - ln -s $libname ${libname%.$VERSION}.1) 1.40 - done 1.41 -}
2.1 --- a/nvidia-settings/receipt Fri Aug 07 15:12:16 2009 +0200 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,25 +0,0 @@ 2.4 -# SliTaz package receipt. 2.5 - 2.6 -PACKAGE="nvidia-settings" 2.7 -VERSION="177.82" 2.8 -CATEGORY="non-free" 2.9 -SHORT_DESC="NVIDIA X.org GUI configuration tool." 2.10 -MAINTAINER="b1+slitaz@nagel.org" 2.11 -DEPENDS="nvidia-glx gtk+ xorg-libXdamage" 2.12 -WANTED="nvidia" 2.13 -WEB_SITE="http://www.nvidia.com" 2.14 - 2.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.16 -genpkg_rules() 2.17 -{ 2.18 - mkdir -p $fs/usr/bin $fs/usr/share/pixmaps $fs/usr/share/applications 2.19 - install -m755 $src/usr/bin/nvidia-settings $fs/usr/bin/ 2.20 - install -m644 $src/usr/share/pixmaps/nvidia-settings.png \ 2.21 - $fs/usr/share/pixmaps/ 2.22 - install -m644 $src/usr/share/applications/nvidia-settings.desktop \ 2.23 - $fs/usr/share/applications/ 2.24 - sed -i 's:__UTILS_PATH__:/usr/bin:' \ 2.25 - $fs/usr/share/applications/nvidia-settings.desktop 2.26 - sed -i 's:__PIXMAP_PATH__:/usr/share/pixmaps:' \ 2.27 - $fs/usr/share/applications/nvidia-settings.desktop 2.28 -}
3.1 --- a/nvidia/receipt Fri Aug 07 15:12:16 2009 +0200 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,66 +0,0 @@ 3.4 -# SliTaz package receipt. 3.5 - 3.6 -PACKAGE="nvidia" 3.7 -VERSION="177.82" 3.8 -CATEGORY="non-free" 3.9 -SHORT_DESC="NVIDIA X.org kernel driver." 3.10 -MAINTAINER="b1+slitaz@nagel.org" 3.11 -DEPENDS="xorg xorg-server linux-agp" 3.12 -TARBALL="NVIDIA-Linux-x86-$VERSION-pkg0.run" 3.13 -WEB_SITE="http://www.nvidia.com" 3.14 -_WGET_URL="http://us.download.nvidia.com/XFree86/Linux-x86/$VERSION/$TARBALL" 3.15 - 3.16 -# Rules to configure and make the package. 3.17 -compile_rules() 3.18 -{ 3.19 - if [ ! -d $WOK/linux/taz ]; then 3.20 - tazwok cook linux 3.21 - fi 3.22 - if [ ! -f "$SOURCES_REPOSITORY/$TARBALL" ]; then 3.23 - cd $SOURCES_REPOSITORY 3.24 - download $_WGET_URL 3.25 - if [ ! -f "$SOURCES_REPOSITORY/$TARBALL" ]; then 3.26 - echo -e "\nDownload failed, exiting. Please check WGET_URL variable.\n" 3.27 - exit 1 3.28 - fi 3.29 - else 3.30 - echo -n "Source tarball exit... " 3.31 - status 3.32 - fi 3.33 - if [ ! -d $src ]; then 3.34 - cd $WOK/$PACKAGE 3.35 - sh "$SOURCES_REPOSITORY/$TARBALL" --extract-only 3.36 - mv "NVIDIA-Linux-x86-$VERSION-pkg0" "$PACKAGE-$VERSION" 3.37 - fi 3.38 - cd $src/usr/src/nv 3.39 - if [ ! -d $WOK/linux/taz ]; then 3.40 - tazwok cook linux 3.41 - fi 3.42 - kver=$(ls $WOK/linux/taz); kver=${kver#*-} 3.43 - sed -i "s/uname -r/echo $kver/g" ?akefile* conftest.sh 3.44 - sed -i "s| /lib/modules| $WOK/linux/linux-$kver/lib/modules|" ?akefile* 3.45 - [ ! -f Makefile ] && ln -s Makefile.kbuild Makefile 3.46 - make SYSSRC=$(ls -d $WOK/linux/linux-$kver/) module 3.47 -} 3.48 - 3.49 -# Rules to gen a SliTaz package suitable for Tazpkg. 3.50 -genpkg_rules() 3.51 -{ 3.52 - KERNEL_VERSION=$(grep "kernel version" ../linux/$(ls ../linux/taz)/.config) 3.53 - KERNEL_VERSION=${KERNEL_VERSION##* }-slitaz 3.54 - mkdir -p $fs/lib/modules/$KERNEL_VERSION/kernel/drivers/video 3.55 - install -m644 $src/usr/src/nv/nvidia.ko $fs/lib/modules/$KERNEL_VERSION/kernel/drivers/video/ 3.56 - mkdir -p $fs/usr/share/doc/nvidia 3.57 - cp $src/LICENSE $fs/usr/share/doc/nvidia 3.58 -} 3.59 - 3.60 -# Post install/remove commands for Tazpkg. 3.61 -post_install() 3.62 -{ 3.63 - chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz 3.64 -} 3.65 - 3.66 -post_remove() 3.67 -{ 3.68 - depmod -a ${EXTRAVERSION#_}-slitaz 3.69 -}