wok-next annotate kmod/receipt @ rev 21661

updated fonttosfnt (1.0.5 -> 1.1.0)
author Hans-G?nter Theisgen
date Sat Jun 27 13:41:53 2020 +0100 (2020-06-27)
parents d5aab818505e
children
rev   line source
al@19760 1 # SliTaz package receipt v2.
pankso@12484 2
pankso@12484 3 PACKAGE="kmod"
al@20863 4 VERSION="25"
pankso@12484 5 CATEGORY="base-system"
al@19760 6 SHORT_DESC="Linux kernel modules tools"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15001 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="https://mirrors.edge.kernel.org/pub/linux/utils/kernel/kmod/"
al@20436 10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/kmod.html"
pankso@12484 11
al@19576 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19576 13 WGET_URL="$WEB_SITE$TARBALL"
al@21143 14 TARBALL_SHA1="761ee76bc31f5db10d470dad607a5f9d68acef68"
al@19576 15
al@19760 16 BUILD_DEPENDS="zlib-dev xz-dev tar"
al@21143 17 SPLIT="$PACKAGE-dev $PACKAGE"
al@21143 18
al@21143 19 COPY_dev="@dev *.so"
al@21143 20
al@21143 21 # please keep glibc-base here because kmod used in the post-install
al@21143 22 # of linux-* packages and will not work instead
al@21143 23 DEPENDS_std="glibc-base zlib liblzma"
al@21143 24 DEPENDS_dev="$PACKAGE xz-dev"
al@21143 25
al@21143 26 TAGS_std="LFS"
pankso@16067 27
al@20317 28 compile_rules() {
pankso@12484 29 ./configure \
al@19576 30 --bindir=/bin \
erjo@15800 31 --with-rootlibdir=/lib \
pankso@12484 32 --with-zlib \
pankso@12531 33 --with-xz \
pankso@12531 34 $CONFIGURE_ARGS &&
al@20575 35 fix libtool &&
al@20575 36 make &&
al@20575 37 make install || return 1
al@19576 38
al@19576 39 # compatibility with module-init-tools
al@19576 40 # (the package that previously handled Linux kernel modules)
al@19576 41 mkdir $install/sbin
al@19576 42 for tool in depmod insmod lsmod modinfo modprobe rmmod; do
al@19576 43 ln -s ../bin/kmod $install/sbin/$tool
al@19576 44 done
al@19576 45 ln -s kmod $install/bin/lsmod
pankso@12484 46 }
pankso@12484 47
al@21143 48 PROVIDE_std="modules-init-tools depmod"