wok-next diff opencsg/receipt @ rev 21592

updated dkms (2.1.1.2 -> 2.8.2)
author Hans-G?nter Theisgen
date Wed Jun 24 07:35:54 2020 +0100 (2020-06-24)
parents e323d0535e2c
children
line diff
     1.1 --- a/opencsg/receipt	Tue Mar 06 11:29:35 2018 +0200
     1.2 +++ b/opencsg/receipt	Wed Jun 24 07:35:54 2020 +0100
     1.3 @@ -12,28 +12,26 @@
     1.4  WGET_URL="${WEB_SITE}$TARBALL"
     1.5  
     1.6  BUILD_DEPENDS="glew-dev mesa-dev freeglut-dev"
     1.7 -SPLIT="opencsg-dev"
     1.8 +SPLIT="$PACKAGE-dev"
     1.9  
    1.10  compile_rules() {
    1.11  	for i in /usr/lib /usr/bin /bin /usr/include; do
    1.12 -		mkdir -p $DESTDIR$i
    1.13 +		mkdir -p $install$i
    1.14  	done
    1.15  	find -name Makefile | xargs sed -i 's|usr/local|usr|'
    1.16 -	make -j 1 &&
    1.17 -	make INSTALL_ROOT=$DESTDIR install
    1.18 +
    1.19 +	make -j1 &&
    1.20 +	make INSTALL_ROOT=$install install
    1.21  }
    1.22  
    1.23  genpkg_rules() {
    1.24  	case $PACKAGE in
    1.25  		opencsg)
    1.26 -			mkdir -p $fs/usr
    1.27 -			cp -a $install/usr/lib $fs/usr
    1.28 +			copy *.so
    1.29  			DEPENDS="glew mesa"
    1.30  			;;
    1.31  		*-dev)
    1.32 -			mkdir -p $fs/usr
    1.33 -			cp -a $install/usr/bin $fs/usr
    1.34 -			cp -a $install/usr/include $fs/usr
    1.35 +			copy @dev @std @rm # /usr/bin/opencsgexample moved here
    1.36  			;;
    1.37  	esac
    1.38  }