wok-6.x view depmod/receipt @ rev 16491
ARM: add mercurial with a fancy compile hack \o/
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 23 14:37:13 2014 +0200 (2014-04-23) |
parents | 9624c47bd4ee |
children | 36278632a653 |
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 LICENSE="GPL2"
9 WEB_SITE="http://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/"
10 WANTED="module-init-tools"
12 DEPENDS="glibc-base gcc-lib-base zlib lzlib"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/sbin
18 cp $install/sbin/depmod $fs/sbin
19 }
21 # Overlap busybox
22 pre_install()
23 {
24 rm -f $1/sbin/depmod
25 }
27 post_remove()
28 {
29 ln -s /bin/busybox $1/sbin/depmod
30 }