wok-next view cpio/receipt @ rev 20487
nareto: update config.ini.php path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 10:58:05 2018 +0100 (2018-03-12) |
parents | 1b1490b81f6b |
children | 7729bf733291 |
line source
1 # SliTaz package receipt.
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="glibc-base"
15 BUILD_DEPENDS="tar gettext texinfo"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --bindir=/bin \
22 --enable-mt \
23 --with-rmt=$install/usr/libexec/rmt \
24 $CONFIGURE_ARGS &&
25 make &&
26 makeinfo --html -o doc/html doc/cpio.texi &&
27 makeinfo --html --no-split -o doc/cpio.html doc/cpio.texi &&
28 makeinfo --plaintext -o doc/cpio.txt doc/cpio.texi &&
29 make install
31 docdir=$install/usr/share/doc/$PACKAGE-$VERSION
32 install -v -m755 -d $docdir/html
33 install -v -m644 doc/html/* $docdir/html
34 install -v -m644 doc/cpio.html $docdir
35 install -v -m644 doc/cpio.txt $docdir
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 copy @std
42 }