wok-4.x annotate depmod/receipt @ rev 5182

linux: fix kernel_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 27 20:38:05 2010 +0100 (2010-03-27)
parents 65c73b684987
children c755ed365a9b
rev   line source
pascal@2925 1 # SliTaz package receipt.
pascal@2925 2
pascal@2925 3 PACKAGE="depmod"
rcx@3742 4 VERSION="3.10"
pascal@2925 5 CATEGORY="base-system"
pascal@2925 6 SHORT_DESC="Kernel modules dependancy tool."
pascal@2925 7 MAINTAINER="pascal.bellard@slitaz.org"
rcx@3742 8 DEPENDS="glibc-base gcc-lib-base zlib lzlib"
pascal@2925 9 WEB_SITE="http://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/"
pascal@2925 10 WANTED="module-init-tools"
pascal@2925 11
pascal@2925 12 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2925 13 genpkg_rules()
pascal@2925 14 {
pascal@2925 15 mkdir -p $fs/sbin
pascal@2925 16 cp $_pkg/sbin/depmod $fs/sbin
pascal@2925 17 }
rcx@3742 18
rcx@3742 19 # Busybox depmod symlink currently not included in the BusyBox package
rcx@3742 20 #pre_install()
rcx@3742 21 #{
rcx@3742 22 # rm -f $1/sbin/depmod
rcx@3742 23 #}
rcx@3742 24 #
rcx@3742 25 #post_remove()
rcx@3742 26 #{
rcx@3742 27 # ln -s /bin/busybox /sbin/depmod
rcx@3742 28 #}