wok rev 25178

Add linux-chrome
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 03 18:25:40 2022 +0000 (22 months ago)
parents 45673422e44e
children 71e179a5ff9d
files linux-chrome/receipt linux-libre-chrome/receipt linux64-chrome/receipt spandsp-dev/receipt spandsp/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/linux-chrome/receipt	Sun Jul 03 18:25:40 2022 +0000
     1.3 @@ -0,0 +1,45 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="linux-chrome"
     1.7 +VERSION="3.16.55"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="The Linux kernel chromebook modules."
    1.10 +MAINTAINER="devel@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WANTED="linux"
    1.13 +DEPENDS="linux"
    1.14 +WEB_SITE="https://www.kernel.org/"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +    local path
    1.20 +    path=lib/modules/$VERSION-slitaz/kernel
    1.21 +    mkdir -p $fs/$path
    1.22 +    
    1.23 +    export src install
    1.24 +    
    1.25 +    $wanted_stuff/list_modules.sh drivers/platform/chrome | while read module; do
    1.26 +    	dir=$path/$(dirname $module)
    1.27 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    1.28 +        cp -a $install/$path/$module $fs/$dir
    1.29 +    done
    1.30 +
    1.31 +    for i in $(cat $wanted_stuff/modules.list); do
    1.32 +        if [ -f $fs/$path/$i ]; then
    1.33 +	    rm -f $fs/$path/$i
    1.34 +	fi
    1.35 +    done
    1.36 +}
    1.37 +
    1.38 +# Post install/remove commands for Tazpkg.
    1.39 +post_install()
    1.40 +{
    1.41 +	chroot "$root/" depmod -a $VERSION-slitaz
    1.42 +}
    1.43 +
    1.44 +post_remove()
    1.45 +{
    1.46 +	chroot "$root/" depmod -a $VERSION-slitaz
    1.47 +}
    1.48 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/linux-libre-chrome/receipt	Sun Jul 03 18:25:40 2022 +0000
     2.3 @@ -0,0 +1,46 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="linux-libre-chrome"
     2.7 +VERSION="3.18.129-gnu"
     2.8 +CATEGORY="base-system"
     2.9 +SHORT_DESC="The Linux kernel chromebook modules."
    2.10 +MAINTAINER="gokhlayeh@slitaz.org"
    2.11 +LICENSE="GPL2"
    2.12 +PROVIDE="linux-chrome"
    2.13 +WANTED="linux-libre"
    2.14 +WEB_SITE="http://www.fsfla.org/svnwiki/selibre/linux-libre/"
    2.15 +
    2.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.17 +genpkg_rules()
    2.18 +{
    2.19 +    local path
    2.20 +    path=lib/modules/$VERSION-slitaz/kernel
    2.21 +    mkdir -p $fs/$path
    2.22 +    
    2.23 +    export src
    2.24 +    export _pkg
    2.25 +    
    2.26 +    $wanted_stuff/list_modules.sh drivers/platform/chrome | while read module; do
    2.27 +    	dir=$path/$(dirname $module)
    2.28 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    2.29 +        cp -a $install/$path/$module $fs/$dir
    2.30 +    done
    2.31 +
    2.32 +    for i in $(cat $wanted_stuff/modules-$VERSION.list); do
    2.33 +        if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
    2.34 +	    rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
    2.35 +	fi
    2.36 +    done
    2.37 +}
    2.38 +
    2.39 +# Post install/remove commands for Tazpkg.
    2.40 +post_install()
    2.41 +{
    2.42 +	chroot "$1/" depmod -a $VERSION-slitaz
    2.43 +}
    2.44 +
    2.45 +post_remove()
    2.46 +{
    2.47 +	chroot "$1/" depmod -a $VERSION-slitaz
    2.48 +}
    2.49 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/linux64-chrome/receipt	Sun Jul 03 18:25:40 2022 +0000
     3.3 @@ -0,0 +1,49 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="linux64-chrome"
     3.7 +VERSION="3.16.55"
     3.8 +CATEGORY="base-system"
     3.9 +SHORT_DESC="The Linux kernel chromebook modules."
    3.10 +MAINTAINER="devel@slitaz.org"
    3.11 +LICENSE="GPL2"
    3.12 +WANTED="linux"
    3.13 +DEPENDS="linux64"
    3.14 +PROVIDE="linux-chrome:linux64"
    3.15 +WEB_SITE="https://www.kernel.org/"
    3.16 +
    3.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.18 +genpkg_rules()
    3.19 +{
    3.20 +    local path
    3.21 +    src=$WOK/linux64/source/tmp
    3.22 +    install=$install/linux64
    3.23 +    path=lib/modules/$VERSION-slitaz64/kernel
    3.24 +    mkdir -p $fs/$path
    3.25 +    
    3.26 +    export src
    3.27 +    export install
    3.28 +    
    3.29 +    $wanted_stuff/list_modules.sh drivers/platform/chrome | while read module; do
    3.30 +    	dir=$path/$(dirname $module)
    3.31 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    3.32 +        cp -a $install/$path/$module $fs/$dir
    3.33 +    done
    3.34 +
    3.35 +    for i in $(cat $wanted_stuff/modules.list); do
    3.36 +        if [ -f $fs/$path/$i ]; then
    3.37 +	    rm -f $fs/$path/$i
    3.38 +	fi
    3.39 +    done
    3.40 +}
    3.41 +
    3.42 +# Post install/remove commands for Tazpkg.
    3.43 +post_install()
    3.44 +{
    3.45 +	chroot "$root/" depmod -a $VERSION-slitaz64
    3.46 +}
    3.47 +
    3.48 +post_remove()
    3.49 +{
    3.50 +	chroot "$root/" depmod -a $VERSION-slitaz64
    3.51 +}
    3.52 +
     4.1 --- a/spandsp-dev/receipt	Sat Jul 02 13:44:10 2022 +0000
     4.2 +++ b/spandsp-dev/receipt	Sun Jul 03 18:25:40 2022 +0000
     4.3 @@ -6,7 +6,7 @@
     4.4  SHORT_DESC="library of DSP functions for telephony dev files."
     4.5  MAINTAINER="pascal.bellard@slitaz.org"
     4.6  LICENSE="LGPL2.1"
     4.7 -WEB_SITE="https://web.archive.org/web/20190804211734/https://www.soft-switch.org/"
     4.8 +WEB_SITE="https://web.archive.org/web/20220504064130/https://www.soft-switch.org/"
     4.9  WANTED="spandsp"
    4.10  
    4.11  DEPENDS="spandsp"
     5.1 --- a/spandsp/receipt	Sat Jul 02 13:44:10 2022 +0000
     5.2 +++ b/spandsp/receipt	Sun Jul 03 18:25:40 2022 +0000
     5.3 @@ -7,8 +7,8 @@
     5.4  MAINTAINER="pascal.bellard@slitaz.org"
     5.5  LICENSE="LGPL2.1"
     5.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     5.7 -WEB_SITE="https://www.soft-switch.org/"
     5.8 -WGET_URL="https://web.archive.org/web/20220329161120if_/${WEB_SITE}downloads/$PACKAGE/$TARBALL"
     5.9 +WEB_SITE="https://web.archive.org/web/20220504064130/https://www.soft-switch.org/"
    5.10 +WGET_URL="https://web.archive.org/web/20220329161120if_/https://www.soft-switch.org/downloads/$PACKAGE/$TARBALL"
    5.11  
    5.12  DEPENDS="tiff zlib jpeg"
    5.13  BUILD_DEPENDS="tiff-dev zlib-dev jpeg-dev"