wok-6.x annotate linux64-exofs/receipt @ rev 23098

updated libraw and libraw-dev (0.19.2 -> 0.19.5)
author Hans-G?nter Theisgen
date Thu Mar 12 07:21:06 2020 +0100 (2020-03-12)
parents 708b5293dd29
children
rev   line source
pascal@17269 1 # SliTaz package receipt.
pascal@17269 2
pascal@17269 3 PACKAGE="linux64-exofs"
pascal@20261 4 VERSION="3.16.55"
pascal@17269 5 CATEGORY="base-system"
pascal@17269 6 SHORT_DESC="The Linux kernel OSD based file system module."
pascal@17269 7 MAINTAINER="devel@slitaz.org"
pascal@17269 8 LICENSE="GPL2"
pascal@17269 9 DEPENDS="linux64"
pascal@17269 10 WANTED="linux"
pascal@17270 11 PROVIDE="linux-exofs:linux64"
pascal@20421 12 WEB_SITE="https://www.kernel.org/"
pascal@17269 13 CONFIG_FILES="/etc/filesystems"
pascal@17269 14
pascal@17269 15 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17269 16 genpkg_rules()
pascal@17269 17 {
pascal@17269 18 local path
pascal@17277 19 src=$WOK/linux64/source/tmp
pascal@17269 20 install=$install/linux64
pascal@17269 21 path=lib/modules/$VERSION-slitaz64/kernel
pascal@17269 22 mkdir -p $fs/$path $fs/etc
pascal@17269 23 export src
pascal@17269 24 export install
pascal@17269 25 $wanted_stuff/list_modules.sh fs/${PACKAGE#*-} | while read module; do
pascal@17269 26 dir=$path/$(dirname $module)
pascal@17269 27 [ -d $fs/$dir ] || mkdir -p $fs/$dir
pascal@17269 28 cp -a $install/$path/$module $fs/$dir
pascal@17269 29 done
pascal@17269 30 touch $fs/etc/filesystems
pascal@17269 31 }
pascal@17269 32
pascal@17269 33 # Post install/remove commands for Tazpkg.
pascal@17269 34 post_install()
pascal@17269 35 {
pascal@18730 36 grep -qs ^${PACKAGE#*-}$ "$1/etc/filesystems" || \
pascal@18730 37 echo "${PACKAGE#*-}" >> "$1/etc/filesystems"
pascal@18730 38 chroot "$1/" depmod -a $VERSION-slitaz64
pascal@17269 39 }
pascal@17269 40
pascal@17269 41 post_remove()
pascal@17269 42 {
pascal@18730 43 sed -i "/^${PACKAGE#*-}\$/d" "$1/etc/filesystems"
pascal@18730 44 chroot "$1/" depmod -a $VERSION-slitaz64
pascal@17269 45 }