wok-current 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 | 187ff4f392d8 |
children | 8e30e2cf0cdf |
files | kmod-dev/receipt kmod/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/kmod-dev/receipt Mon Apr 23 18:12:59 2012 +0200 1.3 @@ -0,0 +1,18 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="kmod-dev" 1.7 +VERSION="8" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Kmod devel files." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +WANTED="kmod" 1.12 +WEB_SITE="http://ftp.kernel.org/pub/linux/utils/kernel/kmod/" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr/lib 1.18 + cp -a $install/usr/lib/*.*a $fs/usr/lib 1.19 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.20 + cp -a $install/usr/include $fs/usr 1.21 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/kmod/receipt Mon Apr 23 18:12:59 2012 +0200 2.3 @@ -0,0 +1,33 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="kmod" 2.7 +VERSION="8" 2.8 +CATEGORY="base-system" 2.9 +SHORT_DESC="GNU traditional Unix macro processor." 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +TARBALL="$PACKAGE-$VERSION.tar.xz" 2.12 +WEB_SITE="http://ftp.kernel.org/pub/linux/utils/kernel/kmod/" 2.13 +WGET_URL="http://ftp.kernel.org/pub/linux/utils/kernel/kmod/$TARBALL" 2.14 +PROVIDES="modules-init-tools" 2.15 + 2.16 +DEPENDS="zlib" 2.17 +BUILD_DEPENDS="zlib-dev" 2.18 + 2.19 +# Rules to configure and make the package. 2.20 +compile_rules() 2.21 +{ 2.22 + cd $src 2.23 + ./configure \ 2.24 + --sysconfdir=/etc \ 2.25 + --with-zlib \ 2.26 + $CONFIGURE_ARGS && 2.27 + make && make install 2.28 +} 2.29 + 2.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.31 +genpkg_rules() 2.32 +{ 2.33 + mkdir -p $fs/usr/lib 2.34 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.35 + cp -a $install/usr/bin $fs/usr 2.36 +}