wok-stable annotate depmod/receipt @ rev 9989
xfce4-mixer: fix bdeps.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu May 19 00:05:26 2011 +0200 (2011-05-19) |
parents | b90843fa3804 |
children |
rev | line source |
---|---|
pascal@2925 | 1 # SliTaz package receipt. |
pascal@2925 | 2 |
pascal@2925 | 3 PACKAGE="depmod" |
gokhlayeh@7897 | 4 VERSION="3.12" |
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 |
pascal@8875 | 19 # Overlap busybox |
pascal@8875 | 20 pre_install() |
pascal@8875 | 21 { |
pascal@8875 | 22 rm -f $1/sbin/depmod |
pascal@8875 | 23 } |
pascal@8875 | 24 |
pascal@8875 | 25 post_remove() |
pascal@8875 | 26 { |
slaxemulator@9691 | 27 ln -s /bin/busybox $1/sbin/depmod |
pascal@8875 | 28 } |