wok-next view cpio/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 7729bf733291
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cpio"
4 VERSION="2.12"
5 CATEGORY="base-system"
6 SHORT_DESC="GNU cpio archiver"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/cpio/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/cpio.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="tar gettext texinfo"
17 compile_rules() {
18 ./configure \
19 --bindir=/bin \
20 --enable-mt \
21 --with-rmt=$install/usr/libexec/rmt \
22 $CONFIGURE_ARGS &&
23 make &&
24 makeinfo --html -o doc/html doc/cpio.texi &&
25 makeinfo --html --no-split -o doc/cpio.html doc/cpio.texi &&
26 makeinfo --plaintext -o doc/cpio.txt doc/cpio.texi &&
27 make install || return 1
29 docdir=$install/usr/share/doc/$PACKAGE-$VERSION
30 install -v -m755 -d $docdir/html
31 install -v -m644 doc/html/* $docdir/html
32 install -v -m644 doc/cpio.html $docdir
33 install -v -m644 doc/cpio.txt $docdir
34 }
36 genpkg_rules() {
37 copy @std
38 DEPENDS="glibc-base"
39 }