wok-next view cpio/receipt @ rev 21071
Update atkmm, cairo, cmake, db, elfutils, emacs, glib, glib-networking, glibmm, gobject-introspection, libsigc++, meson, openssl, zstd
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 13 00:46:54 2018 +0200 (2018-12-13) |
parents | f48456621a9d |
children | d5ccc78ffcc5 |
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="devel@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-dev 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 }