wok-6.x annotate 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
rev   line source
pankso@12484 1 # SliTaz package receipt.
pankso@12484 2
pankso@12484 3 PACKAGE="kmod"
pankso@12484 4 VERSION="8"
pankso@12484 5 CATEGORY="base-system"
pankso@12484 6 SHORT_DESC="GNU traditional Unix macro processor."
pankso@12484 7 MAINTAINER="pankso@slitaz.org"
pankso@12484 8 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@12484 9 WEB_SITE="http://ftp.kernel.org/pub/linux/utils/kernel/kmod/"
pankso@12484 10 WGET_URL="http://ftp.kernel.org/pub/linux/utils/kernel/kmod/$TARBALL"
pankso@12484 11 PROVIDES="modules-init-tools"
pankso@12484 12
pankso@12484 13 DEPENDS="zlib"
pankso@12484 14 BUILD_DEPENDS="zlib-dev"
pankso@12484 15
pankso@12484 16 # Rules to configure and make the package.
pankso@12484 17 compile_rules()
pankso@12484 18 {
pankso@12484 19 cd $src
pankso@12484 20 ./configure \
pankso@12484 21 --sysconfdir=/etc \
pankso@12484 22 --with-zlib \
pankso@12484 23 $CONFIGURE_ARGS &&
pankso@12484 24 make && make install
pankso@12484 25 }
pankso@12484 26
pankso@12484 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12484 28 genpkg_rules()
pankso@12484 29 {
pankso@12484 30 mkdir -p $fs/usr/lib
pankso@12484 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12484 32 cp -a $install/usr/bin $fs/usr
pankso@12484 33 }