wok-current diff kmod/receipt @ rev 12484
Add kmod (modules-init-tools replacement) now needed by udev
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 23 18:12:59 2012 +0200 (2012-04-23) |
parents | |
children | 3c3ae2ea75d6 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/kmod/receipt Mon Apr 23 18:12:59 2012 +0200 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="kmod" 1.7 +VERSION="8" 1.8 +CATEGORY="base-system" 1.9 +SHORT_DESC="GNU traditional Unix macro processor." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.12 +WEB_SITE="http://ftp.kernel.org/pub/linux/utils/kernel/kmod/" 1.13 +WGET_URL="http://ftp.kernel.org/pub/linux/utils/kernel/kmod/$TARBALL" 1.14 +PROVIDES="modules-init-tools" 1.15 + 1.16 +DEPENDS="zlib" 1.17 +BUILD_DEPENDS="zlib-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + ./configure \ 1.24 + --sysconfdir=/etc \ 1.25 + --with-zlib \ 1.26 + $CONFIGURE_ARGS && 1.27 + make && make install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr/lib 1.34 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.35 + cp -a $install/usr/bin $fs/usr 1.36 +}