wok-next view cpio/receipt @ rev 20769
cookutils: up (1071); python-alabaster, python-turbogears, python-webob: use pip; add python-crank, python-repoze.lru
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 17:36:07 2018 +0300 (2018-06-06) |
parents | 9a5b17ddcfcb |
children | f48456621a9d |
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/stable/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 }