wok-next view kmod/receipt @ rev 14388

embryo: update deps
author Dominique Corbex <domcox@slitaz.org>
date Tue Apr 23 07:01:23 2013 +0200 (2013-04-23)
parents 1380cfc94a2f
children 408c87fa22ca
line source
1 # SliTaz package receipt.
3 PACKAGE="kmod"
4 VERSION="11"
5 CATEGORY="base-system"
6 SHORT_DESC="Linux kernel modules tools."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.xz"
9 WEB_SITE="http://ftp.kernel.org/pub/linux/utils/kernel/kmod/"
10 WGET_URL="http://ftp.kernel.org/pub/linux/utils/kernel/kmod/$TARBALL"
11 PROVIDE="modules-init-tools"
13 DEPENDS="zlib liblzma"
14 BUILD_DEPENDS="zlib-dev liblzma-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --bindir=/sbin \
22 --libdir=/lib \
23 --sysconfdir=/etc \
24 --with-zlib \
25 --with-xz \
26 --disable-manpages \
27 $CONFIGURE_ARGS &&
28 make && make pkgconfigdir=/usr/lib/pkgconfig install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/lib $fs/bin
35 cp -a $install/lib/*.so* $fs/lib
36 cp -a $install/sbin $fs
37 cd $fs/sbin
38 # The kmod tools symlinks
39 for tool in rmmod insmod modinfo modprobe depmod
40 do
41 ln -s kmod $tool
42 done
43 cd ../bin && ln -s ../sbin/kmod lsmod
44 }