wok-current view depmod/receipt @ rev 12157
Up: slitaz-base-files (4.4.1) - Now include httphelper, calc
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 17 14:21:12 2012 +0100 (2012-03-17) |
parents | b90843fa3804 |
children | 380ffe05937a |
line source
1 # SliTaz package receipt.
3 PACKAGE="depmod"
4 VERSION="3.12"
5 CATEGORY="base-system"
6 SHORT_DESC="Kernel modules dependancy tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="glibc-base gcc-lib-base zlib lzlib"
9 WEB_SITE="http://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/"
10 WANTED="module-init-tools"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/sbin
16 cp $_pkg/sbin/depmod $fs/sbin
17 }
19 # Overlap busybox
20 pre_install()
21 {
22 rm -f $1/sbin/depmod
23 }
25 post_remove()
26 {
27 ln -s /bin/busybox $1/sbin/depmod
28 }