# HG changeset patch # User Pascal Bellard # Date 1656872740 0 # Node ID 02d03f8bbcdef2d91738f9cb5bae021913b728bc # Parent 45673422e44e35ce130863a670353157fd06d5f5 Add linux-chrome diff -r 45673422e44e -r 02d03f8bbcde linux-chrome/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux-chrome/receipt Sun Jul 03 18:25:40 2022 +0000 @@ -0,0 +1,45 @@ +# SliTaz package receipt. + +PACKAGE="linux-chrome" +VERSION="3.16.55" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel chromebook modules." +MAINTAINER="devel@slitaz.org" +LICENSE="GPL2" +WANTED="linux" +DEPENDS="linux" +WEB_SITE="https://www.kernel.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + local path + path=lib/modules/$VERSION-slitaz/kernel + mkdir -p $fs/$path + + export src install + + $wanted_stuff/list_modules.sh drivers/platform/chrome | while read module; do + dir=$path/$(dirname $module) + [ -d $fs/$dir ] || mkdir -p $fs/$dir + cp -a $install/$path/$module $fs/$dir + done + + for i in $(cat $wanted_stuff/modules.list); do + if [ -f $fs/$path/$i ]; then + rm -f $fs/$path/$i + fi + done +} + +# Post install/remove commands for Tazpkg. +post_install() +{ + chroot "$root/" depmod -a $VERSION-slitaz +} + +post_remove() +{ + chroot "$root/" depmod -a $VERSION-slitaz +} + diff -r 45673422e44e -r 02d03f8bbcde linux-libre-chrome/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux-libre-chrome/receipt Sun Jul 03 18:25:40 2022 +0000 @@ -0,0 +1,46 @@ +# SliTaz package receipt. + +PACKAGE="linux-libre-chrome" +VERSION="3.18.129-gnu" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel chromebook modules." +MAINTAINER="gokhlayeh@slitaz.org" +LICENSE="GPL2" +PROVIDE="linux-chrome" +WANTED="linux-libre" +WEB_SITE="http://www.fsfla.org/svnwiki/selibre/linux-libre/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + local path + path=lib/modules/$VERSION-slitaz/kernel + mkdir -p $fs/$path + + export src + export _pkg + + $wanted_stuff/list_modules.sh drivers/platform/chrome | while read module; do + dir=$path/$(dirname $module) + [ -d $fs/$dir ] || mkdir -p $fs/$dir + cp -a $install/$path/$module $fs/$dir + done + + for i in $(cat $wanted_stuff/modules-$VERSION.list); do + if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then + rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i + fi + done +} + +# Post install/remove commands for Tazpkg. +post_install() +{ + chroot "$1/" depmod -a $VERSION-slitaz +} + +post_remove() +{ + chroot "$1/" depmod -a $VERSION-slitaz +} + diff -r 45673422e44e -r 02d03f8bbcde linux64-chrome/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux64-chrome/receipt Sun Jul 03 18:25:40 2022 +0000 @@ -0,0 +1,49 @@ +# SliTaz package receipt. + +PACKAGE="linux64-chrome" +VERSION="3.16.55" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel chromebook modules." +MAINTAINER="devel@slitaz.org" +LICENSE="GPL2" +WANTED="linux" +DEPENDS="linux64" +PROVIDE="linux-chrome:linux64" +WEB_SITE="https://www.kernel.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + local path + src=$WOK/linux64/source/tmp + install=$install/linux64 + path=lib/modules/$VERSION-slitaz64/kernel + mkdir -p $fs/$path + + export src + export install + + $wanted_stuff/list_modules.sh drivers/platform/chrome | while read module; do + dir=$path/$(dirname $module) + [ -d $fs/$dir ] || mkdir -p $fs/$dir + cp -a $install/$path/$module $fs/$dir + done + + for i in $(cat $wanted_stuff/modules.list); do + if [ -f $fs/$path/$i ]; then + rm -f $fs/$path/$i + fi + done +} + +# Post install/remove commands for Tazpkg. +post_install() +{ + chroot "$root/" depmod -a $VERSION-slitaz64 +} + +post_remove() +{ + chroot "$root/" depmod -a $VERSION-slitaz64 +} + diff -r 45673422e44e -r 02d03f8bbcde spandsp-dev/receipt --- a/spandsp-dev/receipt Sat Jul 02 13:44:10 2022 +0000 +++ b/spandsp-dev/receipt Sun Jul 03 18:25:40 2022 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="library of DSP functions for telephony dev files." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL2.1" -WEB_SITE="https://web.archive.org/web/20190804211734/https://www.soft-switch.org/" +WEB_SITE="https://web.archive.org/web/20220504064130/https://www.soft-switch.org/" WANTED="spandsp" DEPENDS="spandsp" diff -r 45673422e44e -r 02d03f8bbcde spandsp/receipt --- a/spandsp/receipt Sat Jul 02 13:44:10 2022 +0000 +++ b/spandsp/receipt Sun Jul 03 18:25:40 2022 +0000 @@ -7,8 +7,8 @@ MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL2.1" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://www.soft-switch.org/" -WGET_URL="https://web.archive.org/web/20220329161120if_/${WEB_SITE}downloads/$PACKAGE/$TARBALL" +WEB_SITE="https://web.archive.org/web/20220504064130/https://www.soft-switch.org/" +WGET_URL="https://web.archive.org/web/20220329161120if_/https://www.soft-switch.org/downloads/$PACKAGE/$TARBALL" DEPENDS="tiff zlib jpeg" BUILD_DEPENDS="tiff-dev zlib-dev jpeg-dev"