wok-next view linux-man/receipt @ rev 19897

Make midori.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 12 06:46:48 2017 +0300 (2017-10-12)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-man"
4 VERSION="4.9.4"
5 KBASEVER="4.9"
6 CATEGORY="doc"
7 SHORT_DESC="The Linux Kernel man pages"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.kernel.org/"
12 TARBALL="linux-$KBASEVER.tar.xz"
13 WGET_URL="https://www.kernel.org/pub/linux/kernel/v4.x/$TARBALL"
15 BUILD_DEPENDS="python-sphinx perl xmlto util-linux-getopt docbook-xsl \
16 coreutils-operations findutils"
17 SIBLINGS="linux linux-api-headers linux-dev"
19 if [ "$KBASEVER" != "${VERSION%.0}" ]; then
20 PATCH="$(dirname $WGET_URL)/patch-$VERSION.xz"
21 EXTRA_SOURCE_FILES="$(basename $PATCH)"
22 fi
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # Update sources to the $VERSION using base sources ($KBASEVER) and patch
28 if [ "$KBASEVER" != "${VERSION%.0}" ]; then
29 [ -s $SRC/$(basename $PATCH) ] || wget $PATCH -O $SRC/$(basename $PATCH)
30 # don't patch twice for `cook $PACKAGE --continue`
31 if [ ! -f "done.patch-$VERSION" ]; then
32 xzcat $SRC/$(basename $PATCH) | patch -Np1
33 touch done.patch-$VERSION
34 fi
35 fi
37 # Get and apply Aufs patches
38 . $WOK/linux/stuff/tools/aufs-patches
40 patch -p1 -i $stuff/installmandocs.patch
42 make mandocs && make installmandocs
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 cp -a $install/* $fs
49 }